Start at next page, not current page
This commit is contained in:
parent
ca3becfb55
commit
b8766d3c82
|
@ -81,7 +81,7 @@ func (r *Request) GetServers() ([]RawServerData, error) {
|
||||||
Debug("detected multiple pages of server configurations, fetching remaining...")
|
Debug("detected multiple pages of server configurations, fetching remaining...")
|
||||||
|
|
||||||
g, ctx := errgroup.WithContext(context.Background())
|
g, ctx := errgroup.WithContext(context.Background())
|
||||||
for i := res.Meta.CurrentPage; i <= res.Meta.LastPage; i++ {
|
for i := res.Meta.CurrentPage + 1; i <= res.Meta.LastPage; i++ {
|
||||||
page := i
|
page := i
|
||||||
|
|
||||||
g.Go(func() error {
|
g.Go(func() error {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user