mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Merge pull request #123 from arangodb/bugfix/upgrade-resilientsingle
Fixed down/upgrading resilient single deployments.
This commit is contained in:
commit
1435a00344
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ func (a *actionWaitForMemberUp) CheckProgress(ctx context.Context) (bool, error)
|
|||
switch a.actionCtx.GetMode() {
|
||||
case api.DeploymentModeSingle:
|
||||
return a.checkProgressSingle(ctx)
|
||||
case api.DeploymentModeResilientSingle:
|
||||
if a.action.Group == api.ServerGroupAgents {
|
||||
return a.checkProgressAgent(ctx)
|
||||
}
|
||||
return a.checkProgressSingle(ctx)
|
||||
default:
|
||||
if a.action.Group == api.ServerGroupAgents {
|
||||
return a.checkProgressAgent(ctx)
|
||||
|
|
Loading…
Reference in a new issue