mirror of https://github.com/k3s-io/k3s
use ListByResourceGroup instead of List()
parent
24042ce6e7
commit
090c67539a
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue