Skip to content

Commit 89c4747

Browse files
authored
fix(instance): paginate server types availability (#3198)
1 parent 5f8ff9e commit 89c4747

File tree

3 files changed

+1130
-84
lines changed

3 files changed

+1130
-84
lines changed

internal/namespaces/instance/v1/custom_server_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func serverTypeListBuilder(c *core.Command) *core.Command {
8383
// Get server availabilities.
8484
availabilitiesResponse, err := api.GetServerTypesAvailability(&instance.GetServerTypesAvailabilityRequest{
8585
Zone: request.Zone,
86-
})
86+
}, scw.WithAllPages())
8787
if err != nil {
8888
return nil, err
8989
}

0 commit comments

Comments
 (0)