Skip to content

Commit

Permalink
Add previously removed force-move entries
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomarinelli committed Oct 14, 2024
1 parent 799ce06 commit 7d3cc67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/api/platformapi/allocatorapi/vacate.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func moveNodes(id string, params *VacateParams, p *pool.Pool) ([]pool.Validator,
WithAllocatorID(id).
WithMoveOnly(params.MoveOnly).
WithContext(api.WithRegion(context.Background(), params.Region)).
WithForceMove(params.ForceMove).
WithValidateOnly(ec.Bool(true)),
params.AuthWriter,
)
Expand Down Expand Up @@ -282,6 +283,7 @@ func newVacateClusterParams(params addAllocatorMovesToPoolParams, id, kind strin
Output: params.VacateParams.Output,
OutputFormat: params.VacateParams.OutputFormat,
MoveOnly: params.VacateParams.MoveOnly,
ForceMove: params.VacateParams.ForceMove,
PlanOverrides: params.VacateParams.PlanOverrides,
}

Expand Down Expand Up @@ -391,6 +393,7 @@ func newMoveClusterParams(params *VacateClusterParams) (*platform_infrastructure
platform_infrastructure.NewMoveClustersParams().
WithAllocatorDown(params.AllocatorDown).
WithMoveOnly(params.MoveOnly).
WithForceMove(params.ForceMove).
WithAllocatorID(params.ID).
WithContext(api.WithRegion(context.Background(), params.Region)).
WithValidateOnly(ec.Bool(true)).
Expand Down

0 comments on commit 7d3cc67

Please sign in to comment.