Merge pull request #7488 from leseb/bz-1941647-2

ceph: remove extra slash in curl
This commit is contained in:
Sébastien Han
2021-03-26 16:22:37 +01:00
committed by GitHub
+3
View File
@@ -190,6 +190,9 @@ if [ -n "$VAULT_TLS_SERVER_NAME" ]; then
ARGS+=(--connect-to ::"${VAULT_TLS_SERVER_NAME}":)
fi
# trim VAULT_BACKEND_PATH for last character '/' to avoid a redirect response from the server
VAULT_BACKEND_PATH="${VAULT_BACKEND_PATH%%/}"
# Check KV engine version
if [[ "$VAULT_BACKEND" == "v2" ]]; then
PYTHON_DATA_PARSE="['data']['data']"