Merge pull request #7196 from leseb/bz-1926617-2
ceph: fix wrong payload path
This commit is contained in:
1 file changed
+1
-1
@@ -198,7 +198,7 @@ fi
|
||||
curl "${ARGS[@]}" "$VAULT_ADDR"/"$VAULT_KV_VERS"/"$VAULT_BACKEND_PATH"/"$KEK_NAME" > "$CURL_PAYLOAD"
|
||||
|
||||
# Check for errors in the payload
|
||||
if python3 -c "import sys, json; print(json.load(sys.stdin)[\"errors\"], end='')" 2> /dev/null < a; then
|
||||
if python3 -c "import sys, json; print(json.load(sys.stdin)[\"errors\"], end='')" 2> /dev/null < "$CURL_PAYLOAD"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user