From 229982663d3d669a707e96035d9189ec0b222b2b Mon Sep 17 00:00:00 2001 From: Luca Miccini Date: Tue, 10 Sep 2024 08:59:04 +0200 Subject: [PATCH] Fix typo in instanceha template --- templates/instanceha/bin/instanceha.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/instanceha/bin/instanceha.py b/templates/instanceha/bin/instanceha.py index ba679dc1..7d1d20fe 100755 --- a/templates/instanceha/bin/instanceha.py +++ b/templates/instanceha/bin/instanceha.py @@ -496,11 +496,11 @@ def _host_fence(host, action): logging.error('No fencing data found for %s' % host) return False - elif 'noop' in fencing_data["agent"]: + if 'noop' in fencing_data["agent"]: logging.warning('Using noop fencing agent. VMs may get corrupted.') return True - if 'ipmi' in fencing_data["agent"]: + elif 'ipmi' in fencing_data["agent"]: # Extracting the necessary parameters from the fencing data ip = str(fencing_data["ipaddr"])