Restore missing node.save() in agent_base.py

Lost in commit ff2030ce98.

Story: #2006963
Change-Id: I1d6ffd8c49887daab73fa3cc47b8f1104fb02d48
This commit is contained in:
Dmitry Tantsur 2020-04-23 12:14:13 +02:00
parent ff2030ce98
commit 5950b7041e

View File

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