[pve-devel] [PATCH ha-manager 3/3] Sim/Hardware: not warn if a not locked gets unlocked
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Sep 15 10:45:17 CEST 2016
This adds warninga without value to the regression test stderr
output, does not affects the test itself but can be annoying.
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
trivial fix
src/PVE/HA/Sim/Hardware.pm | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/PVE/HA/Sim/Hardware.pm b/src/PVE/HA/Sim/Hardware.pm
index 2c6b8b6..383b10e 100644
--- a/src/PVE/HA/Sim/Hardware.pm
+++ b/src/PVE/HA/Sim/Hardware.pm
@@ -226,7 +226,6 @@ sub unlock_service {
die "no such service '$sid'\n" if !$conf->{$sid};
if (!defined($conf->{$sid}->{lock})) {
- warn "service '$sid' not locked\n";
return undef;
}
--
2.1.4
More information about the pve-devel
mailing list