Unverified Commit 47d7d1d5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #58939 from zhangmingld/glogf

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. use glog.info instead of glog.infof when no format **What this PR does / why we need it**: use glog.info instead of glog.infof when no format **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
parents 4b3d9e71 5a5f7fc4
......@@ -51,7 +51,7 @@ func (az *Cloud) GetVirtualMachineWithRetry(name types.NodeName) (compute.Virtua
glog.Errorf("backoff: failure, will retry,err=%v", retryErr)
return false, nil
}
glog.V(2).Infof("backoff: success")
glog.V(2).Info("backoff: success")
return true, nil
})
if err == wait.ErrWaitTimeout {
......@@ -118,7 +118,7 @@ func (az *Cloud) GetIPForMachineWithRetry(name types.NodeName) (string, error) {
glog.Errorf("backoff: failure, will retry,err=%v", retryErr)
return false, nil
}
glog.V(2).Infof("backoff: success")
glog.V(2).Info("backoff: success")
return true, nil
})
return ip, err
......
......@@ -485,7 +485,7 @@ func (c *BlobDiskController) getAllStorageAccounts() (map[string]*storageAccount
continue
}
if v.Name == nil || v.Sku == nil {
glog.Infof("azureDisk - accountListResult Name or Sku is nil")
glog.Info("azureDisk - accountListResult Name or Sku is nil")
continue
}
glog.Infof("azureDisk - identified account %s as part of shared PVC accounts", *v.Name)
......
......@@ -122,7 +122,7 @@ func (c *controllerCommon) AttachDisk(isManagedDisk bool, diskName, diskURI stri
c.cloud.DetachDiskByName(diskName, diskURI, nodeName)
}
} else {
glog.V(4).Infof("azureDisk - azure attach succeeded")
glog.V(4).Info("azureDisk - azure attach succeeded")
// Invalidate the cache right after updating
vmCache.Delete(vmName)
}
......@@ -181,7 +181,7 @@ func (c *controllerCommon) DetachDiskByName(diskName, diskURI string, nodeName t
if err != nil {
glog.Errorf("azureDisk - azure disk detach failed, err: %v", err)
} else {
glog.V(4).Infof("azureDisk - azure disk detach succeeded")
glog.V(4).Info("azureDisk - azure disk detach succeeded")
// Invalidate the cache right after updating
vmCache.Delete(vmName)
}
......
......@@ -294,7 +294,7 @@ func (az *Cloud) selectLoadBalancer(clusterName string, service *v1.Service, exi
func (az *Cloud) getServiceLoadBalancerStatus(service *v1.Service, lb *network.LoadBalancer) (status *v1.LoadBalancerStatus, err error) {
if lb == nil {
glog.V(10).Infof("getServiceLoadBalancerStatus lb is nil")
glog.V(10).Info("getServiceLoadBalancerStatus lb is nil")
return nil, nil
}
if lb.FrontendIPConfigurations == nil || *lb.FrontendIPConfigurations == nil {
......
......@@ -654,7 +654,7 @@ func (ss *scaleSet) getScaleSetWithRetry(name string) (compute.VirtualMachineSca
glog.Errorf("backoff: failure, will retry,err=%v", retryErr)
return false, nil
}
glog.V(2).Infof("backoff: success")
glog.V(2).Info("backoff: success")
return true, nil
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment