Skip to content

Commit

Permalink
Merge pull request #270 from lmiccini/iha-elif
Browse files Browse the repository at this point in the history
Fix typo in instanceha template
  • Loading branch information
openshift-merge-bot[bot] authored Sep 10, 2024
2 parents a2e657d + 2299826 commit 31f905c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/instanceha/bin/instanceha.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 31f905c

Please sign in to comment.