mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 07:25:51 -04:00
allow upgrades even if an upgrade is in progress
This commit is contained in:
parent
94d5b251f2
commit
9c4e2363f9
@ -293,7 +293,8 @@ func (u *Upgrader) checkClusterStatus(ctx context.Context) (updatev1alpha1.NodeV
|
||||
}
|
||||
|
||||
if upgradeInProgress(nodeVersion) {
|
||||
return updatev1alpha1.NodeVersion{}, ErrInProgress
|
||||
u.log.Debugf("Upgrade is in progress but allowing anyway.")
|
||||
// return updatev1alpha1.NodeVersion{}, ErrInProgress
|
||||
}
|
||||
|
||||
return nodeVersion, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user