use correct format verb

This commit is contained in:
SataQiu 2019-07-23 18:12:42 +08:00
parent c2a4369ba4
commit 86f485541d

View File

@ -166,7 +166,7 @@ func Run(c *config.CompletedConfig, stopCh <-chan struct{}) error {
if cfgz, err := configz.New(ConfigzName); err == nil {
cfgz.Set(c.ComponentConfig)
} 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.