mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -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
|
@ -743,10 +743,7 @@ func (r *NodeVersionReconciler) tryUpdateStatus(ctx context.Context, name types.
|
|||
return err
|
||||
}
|
||||
nodeVersion.Status = *status.DeepCopy()
|
||||
if err := r.Status().Update(ctx, &nodeVersion); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return r.Status().Update(ctx, &nodeVersion)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue