We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
format
1 parent d0e18e7 commit 15c8189Copy full SHA for 15c8189
.github/actions/emit-metrics/action.yml
@@ -60,14 +60,14 @@ runs:
60
PROCESSED=""
61
IFS=$'\n'; ARR=($2); unset IFS
62
for ITEM in "${ARR[@]}"; do
63
- PROCESSED="$PROCESSED $1 $(trim "$ITEM")"
+ PROCESSED="$PROCESSED $1 \"$(trim "$ITEM")\""
64
done
65
echo -n "$(trim "$PROCESSED")"
66
}
67
68
NAMESPACE="--namespace \"${{ inputs.namespace }}\""
69
- DIMENSIONS="$(format "--dimension" "\"${{ inputs.dimensions }}\"")"
70
- METRICS="$(format "--metric" "\"${{ inputs.metrics }}\"")"
+ DIMENSIONS="$(format "--dimension" "${{ inputs.dimensions }}")"
+ METRICS="$(format "--metric" "${{ inputs.metrics }}")"
71
CMD="kat metrics emit $NAMESPACE $DIMENSIONS $METRICS"
72
73
echo "Executing command \"$CMD\""
0 commit comments