fix a typo

Kubernetes-commit: 9d1b687914226514992d9f47c639847930d315b2
This commit is contained in:
Chao Xu 2018-01-11 18:24:24 -08:00 committed by Kubernetes Publisher
parent 36b5340018
commit 0055602f99
1 changed files with 1 additions and 1 deletions

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