summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/deploy_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic/drivers/modules/deploy_utils.py')
-rw-r--r--ironic/drivers/modules/deploy_utils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ironic/drivers/modules/deploy_utils.py b/ironic/drivers/modules/deploy_utils.py
index e3b7fa3fb..3575a7732 100644
--- a/ironic/drivers/modules/deploy_utils.py
+++ b/ironic/drivers/modules/deploy_utils.py
@@ -691,9 +691,8 @@ def prepare_inband_cleaning(task, manage_boot=True):
fast_track = manager_utils.is_fast_track(task)
if not fast_track:
manager_utils.node_power_action(task, states.REBOOT)
-
- # Tell the conductor we are waiting for the agent to boot.
- return states.CLEANWAIT
+ # Tell the conductor we are waiting for the agent to boot.
+ return states.CLEANWAIT
def tear_down_inband_cleaning(task, manage_boot=True):