Skip to content

Commit fe4c3c8

Browse files
committed
fix incorrect variable name 🤦‍♂️
1 parent 41fa763 commit fe4c3c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/emit-metrics/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ runs:
6060
PROCESSED=""
6161
IFS=$'\n'; ARR=($2); unset IFS
6262
for ITEM in "${ARR[@]}"; do
63-
PROCESSED="$PROCESSED $1 $(trim "$INPUT")"
63+
PROCESSED="$PROCESSED $1 $(trim "$ITEM")"
6464
done
6565
echo -n "$(trim "$PROCESSED")"
6666
}
@@ -69,13 +69,13 @@ runs:
6969
${{ inputs.dimensions }}
7070
END_OF_DIMENSIONS
7171
)
72-
echo "RAW_DIMENSIONS: $RAW_DIMENSIONS"
72+
echo "RAW_DIMENSIONS: \"$RAW_DIMENSIONS\""
7373
7474
RAW_METRICS=$(cat <<'END_OF_METRICS'
7575
${{ inputs.metrics }}
7676
END_OF_METRICS
7777
)
78-
echo "RAW_METRICS: $RAW_METRICS"
78+
echo "RAW_METRICS: \"$RAW_METRICS\""
7979
8080
NAMESPACE="--namespace \"${{ inputs.namespace }}\""
8181
DIMENSIONS="$(format "--dimension" "$RAW_DIMENSIONS")"

0 commit comments

Comments
 (0)