1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Fixed agents

This commit is contained in:
Ewout Prangsma 2018-06-15 14:57:41 +02:00
parent 44581c7764
commit e9a5f713e2
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -98,9 +98,9 @@ func createRotateServerStoragePlan(log zerolog.Logger, spec api.DeploymentSpec,
)
if group == api.ServerGroupAgents {
plan = append(plan,
// Scale up, so we're adding the remove agent
api.NewAction(api.ActionTypeAddMember, group, ""),
api.NewAction(api.ActionTypeWaitForMemberUp, group, api.MemberIDPreviousAction),
// Scale up, so we're adding the removed agent (note: with the old ID)
api.NewAction(api.ActionTypeAddMember, group, m.ID),
api.NewAction(api.ActionTypeWaitForMemberUp, group, m.ID),
)
}
}