Skip to content

Commit

Permalink
fix: admission.Decoder is an interface now
Browse files Browse the repository at this point in the history
  • Loading branch information
martinohmann committed Jun 17, 2024
1 parent 2325b6d commit d8d8f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/admission/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var logger = log.Log.WithName("admission")
// based on replacement rules.
type PodImageHandler struct {
config *config.Config
decoder *admission.Decoder
decoder admission.Decoder
}

// NewPodImageHandler creates a new *PodImageHandler which mutates Pod
Expand Down

0 comments on commit d8d8f71

Please sign in to comment.