Fix typo calling save_and_reraise_exception

Related-Bug: 2095403
Change-Id: If0af007253f6f368ed7723df78b2e2756766c9d7
This commit is contained in:
Derek Higgins 2025-01-21 10:10:12 +00:00
parent 75b84f6638
commit c5cb739461

View File

@ -886,7 +886,7 @@ class AgentClient(object):
try:
self._command(node=node, method='system.lockdown', params={})
except Exception as e:
with excutils.save_and_raise_exception():
with excutils.save_and_reraise_exception():
LOG.error('Failed to lock down node %(node_uuid)s. '
'%(cls)s: %(error)s',
{'node_uuid': node.uuid,