mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-06 17:27:35 +02:00
fixes #398
This commit is contained in:
parent
7bd1888b73
commit
23d1acb24a
@ -80,7 +80,7 @@ func NewRegistryWithUsername(endpoint, username string) (*Registry, error) {
|
|||||||
// Catalog ...
|
// Catalog ...
|
||||||
func (r *Registry) Catalog() ([]string, error) {
|
func (r *Registry) Catalog() ([]string, error) {
|
||||||
repos := []string{}
|
repos := []string{}
|
||||||
suffix := "/v2/_catalog"
|
suffix := "/v2/_catalog?n=1000"
|
||||||
var url string
|
var url string
|
||||||
|
|
||||||
for len(suffix) > 0 {
|
for len(suffix) > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user