diff options
author | 2021-06-04 16:31:47 +0800 | |
---|---|---|
committer | 2021-06-04 08:43:04 +0000 | |
commit | f6b820706df03f17fa41ad99035f7fd8761e47b7 (patch) | |
tree | 29f111e38c17a599e74fc4876c0ba0a1d65b5dea /engine-d-standalone/src/main/assembly/bin/run.sh | |
parent | ff774a309d82c6d71064d32505492d7d0d8544cf (diff) |
bugfix - accessibility of RESTful APIs
Change-Id: I85ecff0afa49f5588a5f0d63697b40d9a663233f
Issue-ID: HOLMES-454
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin/run.sh')
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh index f565e2e..b7aea04 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -94,7 +94,7 @@ echo "KEY_PASS=$KEY_PASSWORD" sed -i "s|keyStorePath:.*|keyStorePath: $KEY_PATH|" "$main_path/conf/engine-d.yml" sed -i "s|keyStorePassword:.*|keyStorePassword: $KEY_PASSWORD|" "$main_path/conf/engine-d.yml" -if [ ${ENABLE_ENCRYPT} = true ]; then +if [ "${ENABLE_ENCRYPT}"x = "true"x ]; then sed -i "s|type:\s*https\?$|type: https|" "$main_path/conf/engine-d.yml" sed -i "s|#\?keyStorePath|keyStorePath|" "$main_path/conf/engine-d.yml" sed -i "s|#\?keyStorePassword|keyStorePassword|" "$main_path/conf/engine-d.yml" |