summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2020-10-06 16:37:38 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2020-10-07 10:31:23 +0000
commit8448d3909ca3588b617084a1a13ed3344679dfbe (patch)
tree73a9fe26e927e9f28c42801194b2f8fb86a969e7
parent0978e4a84545f98e71b542ec5a70183dd4232b9a (diff)
downloadironic-8448d3909ca3588b617084a1a13ed3344679dfbe.tar.gz
Trivial: use the correct error handler for do_next_clean_step
Change-Id: Id02f8557d3a34c0ec0f8c04ecd37a170e5cc029c (cherry picked from commit c9c605d8b83270edbdb56c6e77d2a2ec339bba3e)
-rw-r--r--ironic/conductor/cleaning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/conductor/cleaning.py b/ironic/conductor/cleaning.py
index 8a1b7be5d..399cdc1ee 100644
--- a/ironic/conductor/cleaning.py
+++ b/ironic/conductor/cleaning.py
@@ -126,7 +126,7 @@ def do_node_clean(task, clean_steps=None):
do_next_clean_step(task, step_index)
-@utils.fail_on_error(utils.deploying_error_handler,
+@utils.fail_on_error(utils.cleaning_error_handler,
_("Unexpected error when processing next clean step"))
@task_manager.require_exclusive_lock
def do_next_clean_step(task, step_index):