use ListByResourceGroup instead of List()

pull/6/head
andyzhangx 2017-11-28 08:04:14 +00:00
parent 24042ce6e7
commit 090c67539a
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ func (c *BlobDiskController) getDiskCount(SAName string) (int, error) {
}
func (c *BlobDiskController) getAllStorageAccounts() (map[string]*storageAccountState, error) {
accountListResult, err := c.common.cloud.StorageAccountClient.List()
accountListResult, err := c.common.cloud.StorageAccountClient.ListByResourceGroup(c.common.resourceGroup)
if err != nil {
return nil, err
}