remove some extra logging
This commit is contained in:
parent
8d84f3fc1e
commit
a27831e49b
3
api.go
3
api.go
@ -6,7 +6,6 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
@ -93,8 +92,6 @@ func (this *Application) repos(ctx context.Context) ([]Repo, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("Page %d with %d results", nextPage, len(page))
|
|
||||||
|
|
||||||
if len(page) == 0 && len(ret) > 0 {
|
if len(page) == 0 && len(ret) > 0 {
|
||||||
return ret, nil // Found enough already
|
return ret, nil // Found enough already
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user