mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-22 18:37:15 +00:00
more artisanal fixes
Most of these could have been refactored automatically but it wouldn't have been uglier. The unsophisticated tooling left lots of unnecessary struct -> pointer -> struct transitions.
This commit is contained in:
@@ -230,7 +230,7 @@ func (tc *Controller) processJob(key string) error {
|
||||
}
|
||||
// Cascade deletes the Jobs if TTL truly expires.
|
||||
policy := metav1.DeletePropagationForeground
|
||||
options := &metav1.DeleteOptions{
|
||||
options := metav1.DeleteOptions{
|
||||
PropagationPolicy: &policy,
|
||||
Preconditions: &metav1.Preconditions{UID: &fresh.UID},
|
||||
}
|
||||
|
Reference in New Issue
Block a user