Skip to content

Commit

Permalink
fix resize up
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Nov 1, 2023
1 parent 15eaf02 commit 8da331c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (g *InstanceGroup) Update(ctx context.Context, update func(instance string,
func (g *InstanceGroup) Increase(ctx context.Context, delta int) (succeeded int, err error) {
actionID, err := clusters.Resize(g.clusteringClient, g.ClusterID, clusters.ResizeOpts{
AdjustmentType: clusters.ChangeInCapacityAdjustment,
Number: &delta,
Number: delta,
}).Extract()
if err != nil {
return 0, fmt.Errorf("Failed to resize increase: %w", err)
Expand Down

0 comments on commit 8da331c

Please sign in to comment.