Skip to content

Commit f784811

Browse files
committed
fix sto list
1 parent 98a07b3 commit f784811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Compute/Commands.Compute/StorageAccount/GetAzureStorageAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public override void ExecuteCmdlet()
4444

4545
if (string.IsNullOrEmpty(this.Name))
4646
{
47-
var listResponse = this.StorageClient.StorageAccounts.List(this.ResourceGroupName);
47+
var listResponse = this.StorageClient.StorageAccounts.ListByResourceGroup(this.ResourceGroupName);
4848

4949
WriteObject(listResponse.StorageAccounts, true);
5050
}

0 commit comments

Comments
 (0)