Skip to content

Commit d253551

Browse files
author
Zhou Peng
committed
[pkg/registry/admissionregistration]: fixup wrong copy&paste godoc
This was introduced at commit: fc5a613 Signed-off-by: Zhou Peng <[email protected]>
1 parent 14a1106 commit d253551

File tree

2 files changed

+4
-4
lines changed
  • pkg/registry/admissionregistration

2 files changed

+4
-4
lines changed

pkg/registry/admissionregistration/mutatingwebhookconfiguration/storage/storage.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ import (
2727
"k8s.io/kubernetes/pkg/registry/admissionregistration/mutatingwebhookconfiguration"
2828
)
2929

30-
// REST implements a RESTStorage for pod disruption budgets against etcd
30+
// REST implements a RESTStorage for mutatingWebhookConfiguration against etcd
3131
type REST struct {
3232
*genericregistry.Store
3333
}
3434

35-
// NewREST returns a RESTStorage object that will work against pod disruption budgets.
35+
// NewREST returns a RESTStorage object that will work against mutatingWebhookConfiguration.
3636
func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
3737
store := &genericregistry.Store{
3838
NewFunc: func() runtime.Object { return &admissionregistration.MutatingWebhookConfiguration{} },

pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ import (
2727
"k8s.io/kubernetes/pkg/registry/admissionregistration/validatingwebhookconfiguration"
2828
)
2929

30-
// REST implements a RESTStorage for pod disruption budgets against etcd
30+
// REST implements a RESTStorage for validatingWebhookConfiguration against etcd
3131
type REST struct {
3232
*genericregistry.Store
3333
}
3434

35-
// NewREST returns a RESTStorage object that will work against pod disruption budgets.
35+
// NewREST returns a RESTStorage object that will work against validatingWebhookConfiguration.
3636
func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
3737
store := &genericregistry.Store{
3838
NewFunc: func() runtime.Object { return &admissionregistration.ValidatingWebhookConfiguration{} },

0 commit comments

Comments
 (0)