Skip to content

Commit 35942f6

Browse files
authored
Merge pull request kubernetes#94177 from iotty/fix.godoc
[pkg/registry/admissionregistration]: fixup wrong copy&paste godoc
2 parents 47ff9a4 + d253551 commit 35942f6

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)