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:
parent
44581c7764
commit
e9a5f713e2
1 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue