File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
.github/actions/emit-metrics Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 6565 echo -n "$(trim "$PROCESSED")"
6666 }
6767
68- RAW_DIMENSIONS=$(cat <<'END_OF_DIMENSIONS'
69- ${{ inputs.dimensions }}
70- END_OF_DIMENSIONS
71- )
72- echo "RAW_DIMENSIONS: \"$RAW_DIMENSIONS\""
73-
74- RAW_METRICS=$(cat <<'END_OF_METRICS'
75- ${{ inputs.metrics }}
76- END_OF_METRICS
77- )
78- echo "RAW_METRICS: \"$RAW_METRICS\""
79-
8068 NAMESPACE="--namespace \"${{ inputs.namespace }}\""
81- DIMENSIONS="$(format "--dimension" "$RAW_DIMENSIONS ")"
82- METRICS="$(format "--metric" "$RAW_METRICS ")"
69+ DIMENSIONS="$(format "--dimension" "\"${{ inputs.dimensions }}\" ")"
70+ METRICS="$(format "--metric" "\"${{ inputs.metrics }}\" ")"
8371 CMD="kat metrics emit $NAMESPACE $DIMENSIONS $METRICS"
8472
8573 echo "Executing command \"$CMD\""
You can’t perform that action at this time.
0 commit comments