1
0
Fork 0
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:
Ewout Prangsma 2018-04-06 13:43:06 +02:00 committed by GitHub
commit 1435a00344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)