mirror of https://github.com/docker/docs.git
Merge pull request #1180 from FrenchBen/1158-tags
Added larger set for org and user repo - fixes 1158
This commit is contained in:
commit
7c3ad48210
|
|
@ -137,7 +137,7 @@ module.exports = {
|
||||||
// Get Orgs for user
|
// Get Orgs for user
|
||||||
hubUtil.request({
|
hubUtil.request({
|
||||||
url: `${REGHUB2_ENDPOINT}/user/orgs/`,
|
url: `${REGHUB2_ENDPOINT}/user/orgs/`,
|
||||||
qs: { page_size: 50 }
|
qs: { page_size: 1000 }
|
||||||
}, (orgError, orgResponse, orgBody) => {
|
}, (orgError, orgResponse, orgBody) => {
|
||||||
if (orgError) {
|
if (orgError) {
|
||||||
repositoryServerActions.error({orgError});
|
repositoryServerActions.error({orgError});
|
||||||
|
|
@ -178,7 +178,8 @@ module.exports = {
|
||||||
|
|
||||||
async.map(namespaces, (namespace, cb) => {
|
async.map(namespaces, (namespace, cb) => {
|
||||||
hubUtil.request({
|
hubUtil.request({
|
||||||
url: `${REGHUB2_ENDPOINT}/repositories/${namespace}`
|
url: `${REGHUB2_ENDPOINT}/repositories/${namespace}`,
|
||||||
|
qs: { page_size: 1000 }
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
repositoryServerActions.error({error});
|
repositoryServerActions.error({error});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue