summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Jensås <hjensas@redhat.com>2022-10-11 20:11:39 +0200
committerHarald Jensås <hjensas@redhat.com>2022-10-11 20:14:54 +0200
commit21d16594de359292cc71da6ac34743b5b165eee5 (patch)
treef62a2f95f2b3f5d6300176e391c5ec7da7f1ac78
parenta85d689453223530b8ec867078653f58311a7c90 (diff)
downloadironic-21d16594de359292cc71da6ac34743b5b165eee5.tar.gz
[Wallaby only] - Fix bashate E002/E003
On the stable/wallaby branch pep8 fails when bashate===2.1.1 is used. This change replace use of tabs with regular spaces to fix this issue. Related: RHBZ#2133781 Change-Id: I4c45c67f4727c2598e64408c231b92890e710099
-rw-r--r--devstack/lib/ironic8
1 files changed, 4 insertions, 4 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index a61b48b1a..e618f74b0 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -1850,10 +1850,10 @@ function init_ironic {
# even though we're not parsing the output of this command.
$IRONIC_BIN_DIR/ironic-status upgrade check && ret_val=$? || ret_val=$?
if [ $ret_val -gt 1 ]; then
- # NOTE(TheJulia): The ironic-status check command can return
- # 0 if all is okay, 1 if there is a warning, or >1 if something
- # is broken on a major upgrade and thus the process needs to
- # be aborted.
+ # NOTE(TheJulia): The ironic-status check command can return
+ # 0 if all is okay, 1 if there is a warning, or >1 if something
+ # is broken on a major upgrade and thus the process needs to
+ # be aborted.
die $LINENO "Ironic db status check failed, returned: $ret_val"
fi
}