Skip to content

Commit

Permalink
strip quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Oct 10, 2023
1 parent 06c819c commit 4044408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/validate-endpoints/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ runs:
- name: Validate /app/metrics endpoint
shell: bash
run: |
appStatusMetric=$(curl -H 'Authorization: ${{ inputs.license-id }}' -s --fail --show-error localhost:8888/api/v1/app/metrics | jq '."X-Replicated-AppStatus"' | tr -d '\n')
appStatusMetric=$(curl -H 'Authorization: ${{ inputs.license-id }}' -s --fail --show-error localhost:8888/api/v1/app/metrics | jq -r '."X-Replicated-AppStatus"' | tr -d '\n')
if [ "$appStatusMetric" != "ready" ]; then
echo "Expected app status metric 'X-Replicated-AppStatus' to be 'ready', but is set to '$appStatusMetric'."
Expand Down

0 comments on commit 4044408

Please sign in to comment.