aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/gce
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-27 12:08:16 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-27 12:08:16 +0100
commit05b5a32cfd918a0049f5657a6474ec3b08694093 (patch)
tree00cea011b8d4eea5e643d177c0d1816cf609a658 /pkg/gce
parent6ceee05ad984b5abd108b32cc04ae5045166f51c (diff)
pkg/gce: fix a type
Diffstat (limited to 'pkg/gce')
-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")