Merge "Restore missing node.save() in agent_base.py"

This commit is contained in:
Zuul 2020-04-23 18:35:15 +00:00 committed by Gerrit Code Review
commit 8a72f45dad

View File

@ -827,8 +827,8 @@ class AgentDeployMixin(HeartbeatMixin):
if _freshly_booted(agent_commands, step_type): if _freshly_booted(agent_commands, step_type):
field = ('cleaning_reboot' if step_type == 'clean' field = ('cleaning_reboot' if step_type == 'clean'
else 'deployment_reboot') else 'deployment_reboot')
utils.pop_node_nested_field( utils.pop_node_nested_field(node, 'driver_internal_info', field)
task.node, 'driver_internal_info', field) node.save()
manager_utils.notify_conductor_resume_operation(task, step_type) manager_utils.notify_conductor_resume_operation(task, step_type)
return return