From 9de481a740374c888c450c4f5fd2fd2f8236fadb Mon Sep 17 00:00:00 2001 From: handreas <andreas.hamacher@monash.edu> Date: Sun, 2 Feb 2020 06:46:40 +0000 Subject: [PATCH] making stackname prefixing even more awesome robust Former-commit-id: ab6c57fa6256524f37fe6ec68a28fd188febb306 --- CICD/heat/heatcicdwrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CICD/heat/heatcicdwrapper.sh b/CICD/heat/heatcicdwrapper.sh index 429c2cd9..abbd2ee6 100644 --- a/CICD/heat/heatcicdwrapper.sh +++ b/CICD/heat/heatcicdwrapper.sh @@ -16,7 +16,7 @@ fi STACKNAME=$2 -if [[ "$STACKNAME" == "$CICD"* ]]; then +if [[ "$STACKNAME" == "CICD"* ]]; then echo "CICD found in stackname. doing nothing" else STACKNAME="CICD"$STACKNAME @@ -24,7 +24,7 @@ fi -echo "[heatcicdwrapper] Prefixing Stackname with CICD. This is a safety feature because this script can also delete stacks" +echo "[heatcicdwrapper] Prefixing Stackname with CICD. This is a safety feature because this script can also delete stacks" $STACKNAME function check_stack_exists { if openstack stack list | grep -w $STACKNAME; -- GitLab