Merge pull request #58187 from caesarxuchao/fix-typo

Automatic merge from submit-queue (batch tested with PRs 57266, 58187, 58186, 46245, 56509). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

[minor] Fix a typo

Fix https://github.com/kubernetes/kubernetes/pull/58025#discussion_r161052726
This commit is contained in:
Kubernetes Submit Queue 2018-01-12 20:34:48 -08:00 committed by GitHub
commit 99abe92a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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