Fix missing list comma

This commit is contained in:
Joshua Boniface 2021-06-06 01:39:43 -04:00
parent f0dc0fc782
commit 719954b70b
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ class NodeInstance(object):
if target_node is None:
self.logger.out('Failed to find migration target for VM "{}"; shutting down and setting autostart flag'.format(dom_uuid), state='e')
self.zkhandler.write([
('/domains/{}/state'.format(dom_uuid), 'shutdown')
('/domains/{}/state'.format(dom_uuid), 'shutdown'),
('/domains/{}/node_autostart'.format(dom_uuid), 'True')
])
else: