Skip to content

Commit e9a5f71

Browse files
committed
Fixed agents
1 parent 44581c7 commit e9a5f71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/deployment/reconcile/plan_builder_storage.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ func createRotateServerStoragePlan(log zerolog.Logger, spec api.DeploymentSpec,
9898
)
9999
if group == api.ServerGroupAgents {
100100
plan = append(plan,
101-
// Scale up, so we're adding the remove agent
102-
api.NewAction(api.ActionTypeAddMember, group, ""),
103-
api.NewAction(api.ActionTypeWaitForMemberUp, group, api.MemberIDPreviousAction),
101+
// Scale up, so we're adding the removed agent (note: with the old ID)
102+
api.NewAction(api.ActionTypeAddMember, group, m.ID),
103+
api.NewAction(api.ActionTypeWaitForMemberUp, group, m.ID),
104104
)
105105
}
106106
}

0 commit comments

Comments
 (0)