Skip to content

Commit

Permalink
Correctly wrap bash assignment (#3574)
Browse files Browse the repository at this point in the history
  • Loading branch information
mociarain authored May 15, 2024
1 parent 6efabe2 commit f010ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/shared-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ elif [[ $1 == create ]]; then
--master-subnet master-subnet \
--worker-subnet worker-subnet

CLUSTER_RESOURCE_GROUP_ID=az aro show \
CLUSTER_RESOURCE_GROUP_ID=$(az aro show \
--name $SHARED_CLUSTER_NAME \
--resource-group $SHARED_CLUSTER_RESOURCE_GROUP_NAME \
| jq .clusterProfile.resourceGroupId
| jq .clusterProfile.resourceGroupId)

echo "Adding tag to cluster..."
# This tag stops the RG being cleaned up
Expand Down

0 comments on commit f010ba4

Please sign in to comment.