Merge pull request #80474 from SataQiu/fix-controllermanager-20190723

Small Fix: Use correct format verb
This commit is contained in:
Kubernetes Prow Robot 2019-07-25 20:47:58 -07:00 committed by GitHub
commit 27dfcbe8a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ func Run(c *config.CompletedConfig, stopCh <-chan struct{}) error {
if cfgz, err := configz.New(ConfigzName); err == nil { if cfgz, err := configz.New(ConfigzName); err == nil {
cfgz.Set(c.ComponentConfig) cfgz.Set(c.ComponentConfig)
} else { } else {
klog.Errorf("unable to register configz: %c", err) klog.Errorf("unable to register configz: %v", err)
} }
// Setup any healthz checks we will want to use. // Setup any healthz checks we will want to use.