Skip to content

Commit

Permalink
Fix typo in RunOnce activeDeadlineSeconds mutation webhook (#125)
Browse files Browse the repository at this point in the history
Follow up of #124.
  • Loading branch information
bastjan authored Sep 2, 2024
1 parent 8d6b448 commit 597c554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhooks/pod_runonce_active_deadline_seconds_mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (m *PodRunOnceActiveDeadlineSecondsMutator) handle(ctx context.Context, req

return admission.Patched(msg, jsonpatch.Operation{
Operation: "add",
Path: "/spec/restartPolicy",
Path: "/spec/activeDeadlineSeconds",
Value: ads,
})
}

0 comments on commit 597c554

Please sign in to comment.