Skip to content

Commit

Permalink
increase pageSize for service list to avoid truncate (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunmingg authored and k8s-ci-robot committed Sep 18, 2018
1 parent f62212a commit d8973b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gcp-click-to-deploy/src/Gapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class Gapi {
await Gapi.load();
const consumerId = encodeURIComponent(`project:${project}`);
return gapi.client.request({
path: `https://content-servicemanagement.googleapis.com/v1/services?consumerId=${consumerId}`,
path: `https://content-servicemanagement.googleapis.com/v1/services?pageSize=100&consumerId=${consumerId}`,
}).then(response => response.result as ListServicesResponse,
badResult => {
throw new Error('Errors listing services: ' + flattenDeploymentOperationError(badResult.result));
Expand Down

0 comments on commit d8973b1

Please sign in to comment.