Skip to content

Commit

Permalink
CB-7836: fix to retrive the first resource group when multiple names …
Browse files Browse the repository at this point in the history
…are returned
  • Loading branch information
Tibor Popovics authored and horadla23 committed Jul 22, 2020
1 parent 756d6be commit a2e1110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-copy
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ azure_blob_copy() {
}

_azure_get_account_group() {
cat "$STORAGE_ACCOUNT_LIST_FILE" | jq '.[]|select(.name|startswith("'${1:? storage account}'"))|.resourceGroup' -r
cat "$STORAGE_ACCOUNT_LIST_FILE" | jq '.[]|select(.name|startswith("'${1:? storage account}'"))|.resourceGroup' -r |head -1
}

_azure_get_account_key() {
Expand Down

0 comments on commit a2e1110

Please sign in to comment.