Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maqiuyujoyce committed Jun 13, 2024
1 parent d76a905 commit 42aebcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/webhook/state_into_spec_annotation_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ type stateIntoSpecAnnotationValidator struct {
client client.Client
}

// NewStateIntoSpecAnnotationValidatorHandler creates an instance of
// stateIntoSpecAnnotationValidator to handle state-into-spec annotation
// validation.
func NewStateIntoSpecAnnotationValidatorHandler() HandlerFunc {
return func(mgr manager.Manager) admission.Handler {
return &stateIntoSpecAnnotationValidator{client: mgr.GetClient()}
Expand Down

0 comments on commit 42aebcb

Please sign in to comment.