Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed Jun 4, 2024
1 parent 8586c36 commit 17282b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sub/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func run(addr string, port int, profs []hooks.SecurityProfile) error {

wh := mgr.GetWebhookServer()
for _, prof := range profs {
wh.Register("/mutate-"+prof.Name, hooks.NewPodMutator(mgr.GetClient(), ctrl.Log.WithName("mutate-"+prof.Name), &dec, prof))
wh.Register("/mutate-"+prof.Name, hooks.NewPodMutator(mgr.GetClient(), ctrl.Log.WithName("mutate-"+prof.Name), dec, prof))
wh.Register("/validate-"+prof.Name, hooks.NewPodValidator(mgr.GetClient(), ctrl.Log.WithName("validate-"+prof.Name), &dec, prof))
}

Expand Down

0 comments on commit 17282b1

Please sign in to comment.