diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-07-31 12:16:54 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-07-31 12:16:54 +0200 |
| commit | f5d67fbd9c633bd2e0e815ada0a8dea352ea42d4 (patch) | |
| tree | f38c9fb5ab5c6f2b0b003ee20fe13bed7ea41900 /pkg/gce | |
| parent | b8bd991ee2f77d225913d41c57b9a420b4559900 (diff) | |
.gometalinter.json: enable gofmt
The part that we want from gofmt is simplify (-s).
Fix all code that needs fixing.
Update #538
Diffstat (limited to 'pkg/gce')
| -rw-r--r-- | pkg/gce/gce.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gce/gce.go b/pkg/gce/gce.go index bb6d89838..2e0b397ad 100644 --- a/pkg/gce/gce.go +++ b/pkg/gce/gce.go @@ -125,7 +125,7 @@ func (ctx *Context) CreateInstance(name, machineType, image, sshkey string) (str }, }, NetworkInterfaces: []*compute.NetworkInterface{ - &compute.NetworkInterface{ + { Network: ctx.Network, Subnetwork: ctx.Subnetwork, }, |
