Skip to content

Commit

Permalink
Update images/virtualization-controller/pkg/controller/vmop/vmop_webh…
Browse files Browse the repository at this point in the history
…ook.go

Co-authored-by: Ivan Mikheykin <[email protected]>
Signed-off-by: Yaroslav Borbat <[email protected]>
  • Loading branch information
yaroslavborbat and diafour authored Feb 9, 2024
1 parent eefa639 commit b772907
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (v *Validator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Obj
}

func (v *Validator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error) {
err := fmt.Errorf("misconfigured webhook rools: delete operation not implemented")
err := fmt.Errorf("misconfigured webhook rules: delete operation not implemented")
v.log.Error(err, "Ensure the correctness of ValidatingWebhookConfiguration")
return nil, nil
}

0 comments on commit b772907

Please sign in to comment.