projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb1782
)
virt plugin: Cleanup excessive check
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 12 May 2019 06:56:05 +0000
(13:56 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 12 May 2019 09:20:36 +0000
(16:20 +0700)
That is already covered by check at upper level:
if (inst->id == 0 && persistent_notification)
persistent_domains_state_notification();
src/virt.c
patch
|
blob
|
history
diff --git
a/src/virt.c
b/src/virt.c
index
9d368af
..
ae3dc75
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-1668,8
+1668,7
@@
static int get_domain_state_notify(virDomainPtr domain) {
return status;
}
- if (persistent_notification)
- domain_state_submit_notif(domain, domain_state, domain_reason);
+ domain_state_submit_notif(domain, domain_state, domain_reason);
return status;
}