Merge pull request #96552 from pandaamanda/klog_fmt

use klog.Info and klog.Warning when had no format
This commit is contained in:
Kubernetes Prow Robot
2021-01-15 17:57:43 -08:00
committed by GitHub
21 changed files with 32 additions and 32 deletions

View File

@@ -332,7 +332,7 @@ func (rc *reconciler) reportMultiAttachError(volumeToAttach cache.VolumeToAttach
// Log detailed message to system admin
nodeList := strings.Join(otherNodesStr, ", ")
detailedMsg := volumeToAttach.GenerateMsgDetailed("Multi-Attach error", fmt.Sprintf("Volume is already exclusively attached to node %s and can't be attached to another", nodeList))
klog.Warningf(detailedMsg)
klog.Warning(detailedMsg)
return
}