From e8b5658bd11384d2796f9512f6edb95c632a0a59 Mon Sep 17 00:00:00 2001 From: willise Date: Fri, 10 Jan 2020 14:01:06 +0800 Subject: [PATCH] fix: typos in comments of admission --- staging/src/k8s.io/apiserver/pkg/server/options/admission.go | 2 +- staging/src/k8s.io/apiserver/pkg/storage/interfaces.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/apiserver/pkg/server/options/admission.go b/staging/src/k8s.io/apiserver/pkg/server/options/admission.go index 5e8dc3aef6d..765e2ad2b65 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/options/admission.go +++ b/staging/src/k8s.io/apiserver/pkg/server/options/admission.go @@ -112,7 +112,7 @@ func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet) { } // ApplyTo adds the admission chain to the server configuration. -// In case admission plugin names were not provided by a custer-admin they will be prepared from the recommended/default values. +// In case admission plugin names were not provided by a cluster-admin they will be prepared from the recommended/default values. // In addition the method lazily initializes a generic plugin that is appended to the list of pluginInitializers // note this method uses: // genericconfig.Authorizer diff --git a/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go b/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go index f3ca36118fe..7e8ae5241ee 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go @@ -218,7 +218,7 @@ type Interface interface { // err := s.GuaranteedUpdate( // "myKey", &MyType{}, true, // func(input runtime.Object, res ResponseMeta) (runtime.Object, *uint64, error) { - // // Before each incovation of the user defined function, "input" is reset to + // // Before each invocation of the user defined function, "input" is reset to // // current contents for "myKey" in database. // curr := input.(*MyType) // Guaranteed to succeed. //