Minor commenting fixes for Azure Disk Controllers from CR

This commit is contained in:
Kai Chen
2018-01-04 01:29:46 -08:00
parent 2b0c27e3bc
commit 083671dfa0
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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)