From f5d67fbd9c633bd2e0e815ada0a8dea352ea42d4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 31 Jul 2018 12:16:54 +0200 Subject: .gometalinter.json: enable gofmt The part that we want from gofmt is simplify (-s). Fix all code that needs fixing. Update #538 --- pkg/gce/gce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/gce') 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, }, -- cgit mrf-deployment