projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bf7704
)
virt plugin: Added debug message
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 13 May 2019 07:26:22 +0000
(14:26 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 13 May 2019 07:26:22 +0000
(14:26 +0700)
src/virt.c
patch
|
blob
|
history
diff --git
a/src/virt.c
b/src/virt.c
index
1fdf45b
..
62e6089
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-2258,8
+2258,11
@@
static int lv_read(user_data_t *ud) {
return -1;
/* Wait until inst#0 establish connection */
- if (conn == NULL)
+ if (conn == NULL) {
+ DEBUG(PLUGIN_NAME " plugin#%s: Wait until inst#0 establish connection",
+ inst->tag);
return 0;
+ }
time_t t;
time(&t);