Skip to content

Commit d7c2773

Browse files
author
RanVaknin
committed
Fix cloudwatch reporting
1 parent 0c5ee28 commit d7c2773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildspecs/release-to-maven-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ phases:
4848
STAGING_SIZE_MB=$(du -sm target/central-staging | cut -f1)
4949
aws cloudwatch put-metric-data \
5050
--namespace "AwsJavaSdkRelease" \
51-
--metric-data MetricName=StagingFolderSize,Value=$STAGING_SIZE_MB,Unit=Megabytes,Dimensions=Name=ReleaseVersion,Value=$RELEASE_VERSION
51+
--metric-data "MetricName=StagingFolderSize,Value=$STAGING_SIZE_MB,Unit=Megabytes,Dimensions=[{Name=ReleaseVersion,Value=$RELEASE_VERSION}]"
5252
else
5353
echo "Staging folder target/central-staging not found"
5454
fi

0 commit comments

Comments
 (0)