Skip to content

Commit

Permalink
update the admission.Decoder is an interface now
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaGreben committed Dec 20, 2024
1 parent a71967e commit a25f78f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1/mutating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (

type mutatingHandler struct {
// aeroCluster *AerospikeCluster
decoder *admission.Decoder
decoder admission.Decoder
}

// InjectDecoder injects the decoder into a mutatingHandler.
func (h *mutatingHandler) InjectDecoder(d *admission.Decoder) error {
func (h *mutatingHandler) InjectDecoder(d admission.Decoder) error {
h.decoder = d
return nil
}
Expand Down

0 comments on commit a25f78f

Please sign in to comment.