fix a typo

This commit is contained in:
Chao Xu 2018-01-11 18:24:24 -08:00
parent 09cf6c9776
commit 9d1b687914

View File

@ -174,7 +174,7 @@ func (a *MutatingWebhook) ValidateInitialization() error {
return fmt.Errorf("MutatingWebhook.convertor is not properly setup: %v", err)
}
if a.defaulter == nil {
return fmt.Errorf("MutatingWebhook.defaulter is not properly setup: %v")
return fmt.Errorf("MutatingWebhook.defaulter is not properly setup")
}
go a.hookSource.Run(wait.NeverStop)
return nil