We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51bbeb8 commit 50e916cCopy full SHA for 50e916c
mrt-inttest-services/merritt-ops/scripts/run-monitor-checks.sh
@@ -132,7 +132,7 @@ stack_metrics() {
132
cat /tmp/test.json | jq -r 'keys[]' | while IFS= read -r key; do
133
val=$(jq -e ".$key" /tmp/test.json)
134
135
- if [ "$key" =~ ^gb_ ]
+ if [[ "$key" =~ ^gb_ ]]
136
then
137
aws cloudwatch put-metric-data --region us-west-2 --namespace merritt \
138
--dimensions "stack=$MERRITT_ECS" \
0 commit comments