commit c9c605d8b83270edbdb56c6e77d2a2ec339bba3e Author: Dmitry Tantsur Date: Tue Oct 6 16:37:38 2020 +0200 Trivial: use the correct error handler for do_next_clean_step Change-Id: Id02f8557d3a34c0ec0f8c04ecd37a170e5cc029c diff --git a/ironic/conductor/cleaning.py b/ironic/conductor/cleaning.py index 8a1b7be..399cdc1 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):