mirror of
https://github.com/Quiq/docker-registry-ui.git
synced 2025-07-17 15:51:27 +00:00
Add limit when calling v1/_catalog
This commit is contained in:
parent
f9899cb785
commit
ddaa1acdb9
@ -178,7 +178,7 @@ func (c *Client) Repositories(useCache bool) map[string][]string {
|
||||
|
||||
linkRegexp := regexp.MustCompile("^<(.*?)>;.*$")
|
||||
scope := "registry:catalog:*"
|
||||
uri := "/v2/_catalog"
|
||||
uri := "/v2/_catalog?n=1000"
|
||||
c.repos = map[string][]string{}
|
||||
for {
|
||||
data, resp := c.callRegistry(uri, scope, "manifest.v2")
|
||||
|
Loading…
Reference in New Issue
Block a user