Skip to content

Commit cec9f9e

Browse files
committed
Fix deprecations
1 parent fface7c commit cec9f9e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/builder/webhook.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ func (blder *WebhookBuilder) RecoverPanic(recoverPanic bool) *WebhookBuilder {
9898
}
9999

100100
// WithCustomPath overrides the webhook's default path by the customPath
101+
//
101102
// Deprecated: WithCustomPath should not be used anymore.
102103
// Please use WithValidatorCustomPath or WithDefaulterCustomPath instead.
103104
func (blder *WebhookBuilder) WithCustomPath(customPath string) *WebhookBuilder {

pkg/client/patch.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727

2828
var (
2929
// Apply uses server-side apply to patch the given object.
30+
//
3031
// Deprecated: Use client.Apply instead.
3132
Apply Patch = applyPatch{}
3233

0 commit comments

Comments
 (0)