Skip to content

Commit

Permalink
Merge pull request #9004 from geojaz/gce/update_network
Browse files Browse the repository at this point in the history
GCE: needs to use v1 network resources, not beta
  • Loading branch information
k8s-ci-robot committed Apr 27, 2020
2 parents 8d0933f + 444ad7b commit 7d85c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/gcetasks/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (e *Network) Find(c *fi.Context) (*Network, error) {

func (e *Network) URL(project string) string {
u := gce.GoogleCloudURL{
Version: "beta",
Version: "v1",
Project: project,
Name: *e.Name,
Type: "networks",
Expand Down
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/gcetasks/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (_ *Subnet) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Subnet) error {

func (e *Subnet) URL(project string, region string) string {
u := gce.GoogleCloudURL{
Version: "beta",
Version: "v1",
Project: project,
Name: *e.GCEName,
Type: "subnetworks",
Expand Down

0 comments on commit 7d85c53

Please sign in to comment.