mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-23 22:16:45 +00:00
fix: A bunch of issues surfaced up via e2e tests and remove old e2e ones
This commit is contained in:
@@ -66,7 +66,7 @@ func (w *RolloutWorkload) Update(ctx context.Context, c client.Client) error {
|
||||
restartAt := metav1.NewTime(time.Now())
|
||||
w.Object().Spec.RestartAt = &restartAt
|
||||
}
|
||||
return c.Patch(ctx, w.Object(), client.StrategicMergeFrom(w.Original()), client.FieldOwner(FieldManager))
|
||||
return c.Patch(ctx, w.Object(), client.MergeFrom(w.Original()), client.FieldOwner(FieldManager))
|
||||
}
|
||||
|
||||
// getStrategy returns the rollout strategy from the annotation.
|
||||
|
||||
Reference in New Issue
Block a user