Skip to content

Commit

Permalink
config(google): Update GCE's base URL to the new domain (#6401)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingFanSteve authored and Scott committed Jan 22, 2019
1 parent 879221b commit 87013c6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ module.exports = angular
return null;
}

// A network selfLink looks like: https://www.googleapis.com/compute/beta/projects/test-host-project/global/networks/default
// A subnet selfLink looks like: https://www.googleapis.com/compute/beta/projects/my-test-service-project/regions/us-west1/subnetworks/default
// A network selfLink looks like: https://compute.googleapis.com/compute/beta/projects/test-host-project/global/networks/default
// A subnet selfLink looks like: https://compute.googleapis.com/compute/beta/projects/my-test-service-project/regions/us-west1/subnetworks/default
const xpnResourcePathSegments = xpnResource.split('/');
const xpnResourceProjectId = xpnResourcePathSegments[xpnResourcePathSegments.indexOf('projects') + 1];
const xpnResourceName = _.last(xpnResourcePathSegments);
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 87013c6

Please sign in to comment.