fix klog.Info -> klog.Infof

This commit is contained in:
10177505 2021-01-15 17:22:58 +08:00
parent 083290d996
commit 2ecbf7e4f5

View File

@ -257,7 +257,7 @@ func (a *acrProvider) Provide(image string) credentialprovider.DockerConfig {
if exists {
klog.V(4).Infof("Got ACR credentials from cache for %s", loginServer)
} else {
klog.V(2).Info("unable to get ACR credentials from cache for %s, checking ACR API", loginServer)
klog.V(2).Infof("unable to get ACR credentials from cache for %s, checking ACR API", loginServer)
var err error
cfg, err = a.getFromACR(loginServer)
if err != nil {