Skip to content

Commit 49c9a25

Browse files
authored
Merge pull request #581 from panslava/patch-1
Return NetworkProjectID() as a project ID for Subnetworks resource
2 parents e64cf3b + 9cc1d93 commit 49c9a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/gce/support.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type gceProjectRouter struct {
3434
// ProjectID returns the project ID to be used for the given operation.
3535
func (r *gceProjectRouter) ProjectID(ctx context.Context, version meta.Version, service string) string {
3636
switch service {
37-
case "Firewalls", "Routes":
37+
case "Firewalls", "Routes", "Subnetworks":
3838
return r.gce.NetworkProjectID()
3939
default:
4040
return r.gce.projectID

0 commit comments

Comments
 (0)