Skip to content

Commit 597c554

Browse files
authored
Fix typo in RunOnce activeDeadlineSeconds mutation webhook (#125)
Follow up of #124.
1 parent 8d6b448 commit 597c554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webhooks/pod_runonce_active_deadline_seconds_mutator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (m *PodRunOnceActiveDeadlineSecondsMutator) handle(ctx context.Context, req
8686

8787
return admission.Patched(msg, jsonpatch.Operation{
8888
Operation: "add",
89-
Path: "/spec/restartPolicy",
89+
Path: "/spec/activeDeadlineSeconds",
9090
Value: ads,
9191
})
9292
}

0 commit comments

Comments
 (0)