aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/gce/gce.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gce/gce.go b/pkg/gce/gce.go
index 93dc65557..f2675339f 100644
--- a/pkg/gce/gce.go
+++ b/pkg/gce/gce.go
@@ -83,7 +83,7 @@ func NewContext() (*Context, error) {
}
}
ctx.Network = iface.Network
- ctx.Subnetwork = iface.Network
+ ctx.Subnetwork = iface.Subnetwork
}
if ctx.InternalIP == "" {
return nil, fmt.Errorf("failed to get current instance internal IP")