Minor commenting fixes for Azure Disk Controllers from CR
This commit is contained in:
@@ -611,7 +611,7 @@ func (c *BlobDiskController) findSANameForDisk(storageAccountType storage.SkuNam
|
|||||||
return SAName, nil
|
return SAName, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// avergates are not ok and we are at capacity(max storage accounts allowed)
|
// averages are not ok and we are at capacity (max storage accounts allowed)
|
||||||
if aboveAvg && countAccounts == maxStorageAccounts {
|
if aboveAvg && countAccounts == maxStorageAccounts {
|
||||||
glog.Infof("azureDisk - shared storageAccounts utilzation(%v) > grow-at-avg-utilization (%v). But k8s maxed on SAs for PVC(%v). k8s will now exceed grow-at-avg-utilization without adding accounts",
|
glog.Infof("azureDisk - shared storageAccounts utilzation(%v) > grow-at-avg-utilization (%v). But k8s maxed on SAs for PVC(%v). k8s will now exceed grow-at-avg-utilization without adding accounts",
|
||||||
avgUtilization, storageAccountUtilizationBeforeGrowing, maxStorageAccounts)
|
avgUtilization, storageAccountUtilizationBeforeGrowing, maxStorageAccounts)
|
||||||
|
@@ -106,8 +106,8 @@ func (c *ManagedDiskController) DeleteManagedDisk(diskURI string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// We don't need poll here, k8s will immediatly stop referencing the disk
|
// We don't need poll here, k8s will immediately stop referencing the disk
|
||||||
// the disk will be evantually deleted - cleanly - by ARM
|
// the disk will be eventually deleted - cleanly - by ARM
|
||||||
|
|
||||||
glog.V(2).Infof("azureDisk - deleted a managed disk: %s", diskURI)
|
glog.V(2).Infof("azureDisk - deleted a managed disk: %s", diskURI)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user