Skip to content

Commit

Permalink
update for the recent gopercloud v2 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Mar 11, 2024
1 parent 30a24dc commit e34384b
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 @@ -187,7 +187,7 @@ func (g *InstanceGroup) Decrease(ctx context.Context, instances []string) (succe
}

func (g *InstanceGroup) getInstances(ctx context.Context, initial bool) ([]servers.Server, error) {
page, err := servers.List(g.computeClient, nil).AllPagesWithContext(ctx)
page, err := servers.List(g.computeClient, nil).AllPages(ctx)
if err != nil {
return nil, fmt.Errorf("Server listing error: %w", err)
}
Expand Down

0 comments on commit e34384b

Please sign in to comment.