summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/docker/prepare-env.sh
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-02-24 15:08:41 +0800
committerAric Gardner <agardner@linuxfoundation.org>2017-02-24 21:44:09 +0000
commitde1da8295b55ca2092459f2dacf44455d1006550 (patch)
tree04f797fccd57f1b7fbf2a9a83313030ca3457fc0 /utils/test/testapi/docker/prepare-env.sh
parent99585542c91716b518a67c8761f36a771b1414e6 (diff)
fix internal port of TestAPI
There are too many parameters when starting TestAPI container, it will confuse the user. I learned that docker containers like Jenkins and mongo the internal port is fixed, the user only need to change the exposed port, so the same strategy is adopted here Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/docker/prepare-env.sh')
-rwxr-xr-xutils/test/testapi/docker/prepare-env.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/test/testapi/docker/prepare-env.sh b/utils/test/testapi/docker/prepare-env.sh
index 99433cc8c..9f07efbd1 100755
--- a/utils/test/testapi/docker/prepare-env.sh
+++ b/utils/test/testapi/docker/prepare-env.sh
@@ -9,8 +9,3 @@ fi
if [ "$swagger_url" != "" ]; then
sudo crudini --set --existing $FILE swagger base_url $swagger_url
fi
-
-if [ "$api_port" != "" ];then
- sudo crudini --set --existing $FILE api port $api_port
-fi
-