From f047ea0f7e8e832f2670082246a8f1a7ad090227 Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Thu, 17 Dec 2015 17:44:38 +0000 Subject: [PATCH] Fix bashate errors in grenade plugin Fixes one bashate error in devstack/upgrade/upgrade.sh. Change-Id: I347e39cd8055811d2ac22ed744b1d9e9f3ca37fa --- devstack/upgrade/upgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devstack/upgrade/upgrade.sh b/devstack/upgrade/upgrade.sh index ca0dfd154e..61a335591f 100755 --- a/devstack/upgrade/upgrade.sh +++ b/devstack/upgrade/upgrade.sh @@ -49,8 +49,8 @@ set -o xtrace function is_nova_migration { # Deterine whether we're "upgrading" from another compute driver - local old_driver=$(source $BASE_DEVSTACK_DIR/functions; source $BASE_DEVSTACK_DIR/localrc; echo $VIRT_DRIVER) - [ "$old_driver" != "ironic" ] + _ironic_old_driver=$(source $BASE_DEVSTACK_DIR/functions; source $BASE_DEVSTACK_DIR/localrc; echo $VIRT_DRIVER) + [ "$_ironic_old_driver" != "ironic" ] } # Duplicate all required devstack setup that is needed before starting