mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 08:15:48 -04:00
operator: reliability and simplification (#968)
* operator: make tests more reliable * operator: simplify RetryOnConflict statements
This commit is contained in:
parent
c36a009188
commit
67f8336b9d
4 changed files with 21 additions and 23 deletions
|
@ -216,9 +216,6 @@ func (r *AutoscalingStrategyReconciler) tryUpdateStatus(ctx context.Context, nam
|
|||
return err
|
||||
}
|
||||
autoscalingStrategy.Status = *status.DeepCopy()
|
||||
if err := r.Status().Update(ctx, &autoscalingStrategy); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return r.Status().Update(ctx, &autoscalingStrategy)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue