Skip to content

Commit 7794f58

Browse files
committed
Fix linting issues
1 parent 415a568 commit 7794f58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api/v1alpha1/pattern_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (r *PatternValidator) ValidateCreate(ctx context.Context, obj runtime.Objec
7272
}
7373

7474
// ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type
75-
func (r *PatternValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error) {
75+
func (r *PatternValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error) {
7676
p, err := convertToPattern(newObj)
7777
if err != nil {
7878
return nil, err

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)