Bug-fix: syntax error for add compass pod yaml 11/40211/2
authorYang Yu <Gabriel.yuyang@huawei.com>
Fri, 25 Aug 2017 07:31:58 +0000 (15:31 +0800)
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>
Fri, 25 Aug 2017 07:34:19 +0000 (07:34 +0000)
JIRA: BOTTLENECK-178

Containerized compass does not support ssh method to get the POD
yaml anymore. This patch is to fix the syntax error of last patch.

Change-Id: Ibd1711a645327db0c43a602519a9fa47ddaec64f
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
jjb/bottlenecks/bottlenecks-run-suite.sh

index 940db94..a757043 100644 (file)
@@ -89,7 +89,7 @@ if [[ $SUITE_NAME == *posca* ]]; then
         echo "Don't support to generate pod.yaml on ${INSTALLER_TYPE} currently."
     fi
 
-    if [[ ${INSTALLER_TYPE} != compass]]; then
+    if [[ ${INSTALLER_TYPE} != compass ]]; then
         cmd="sudo python ${RELENG_REPO}/utils/create_pod_file.py -t ${INSTALLER_TYPE} \
          -i ${INSTALLER_IP} ${options} -f ${BOTTLENECKS_CONFIG}/pod.yaml \
          -s ${BOTTLENECKS_CONFIG}/id_rsa"