Skip to content
Snippets Groups Projects
Commit 1160137d authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

fix: add missing quote around variable

parent d10875b8
No related branches found
No related tags found
No related merge requests found
Pipeline #12121 passed with stage
in 1 minute and 22 seconds
......@@ -161,7 +161,7 @@ deploy_http_proxy_node:
cmd+=" --security-group webserver_sec_group"
cmd+=" --security-group allow-ssh"
cmd+=" --user-data user_data.txt"
if [ -n $HTTP_PROXY_PORT ];then cmd+=" --port $HTTP_PROXY_PORT"; fi
if [ -n "$HTTP_PROXY_PORT" ];then cmd+=" --port $HTTP_PROXY_PORT"; fi
cmd+=" --wait $HTTP_PROXY_INSTANCE_NAME"
- export HTTP_PROXY_INSTANCE_ID=$(bash -c "$cmd")
- |
......@@ -199,7 +199,7 @@ deploy_ssh_proxy_node:
cmd+=" --network $PROXY_NETWORK"
cmd+=" --security-group allow-ssh"
cmd+=" --user-data user_data.txt"
if [ -n $SSH_PROXY_PORT ];then cmd+=" --port $SSH_PROXY_PORT"; fi
if [ -n "$SSH_PROXY_PORT" ];then cmd+=" --port $SSH_PROXY_PORT"; fi
cmd+=" --wait $SSH_PROXY_INSTANCE_NAME"
- export SSH_PROXY_INSTANCE_ID=$(bash -c "$cmd")
- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment