[libvirt] [tck PATCH 2/3] hooks: Refresh the service status after performing an action

Erik Skultety eskultet at redhat.com
Tue Nov 12 15:10:19 UTC 2019


Presumably, the original intent of the code was to query the status of
the service to refresh the internal state variable, but the intended
method was never called because of a typo.
---
 lib/Sys/Virt/TCK/Hooks.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Sys/Virt/TCK/Hooks.pm b/lib/Sys/Virt/TCK/Hooks.pm
index ef3403d..a3615e4 100644
--- a/lib/Sys/Virt/TCK/Hooks.pm
+++ b/lib/Sys/Virt/TCK/Hooks.pm
@@ -263,7 +263,7 @@ sub service_libvirtd {
 
     die "failed on $action daemon" if system $cmd;
 
-    $self->libvirtd_status;
+    $self->libvirtd_status();
 }
 
 sub compare_log {
-- 
2.23.0




More information about the libvir-list mailing list