From b5d78bce088100d3b203dda43df81f2a7293d6f3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 25 Jan 2019 07:29:31 +0100 Subject: vm/vmimpl: fix vet warning about unkeyed struct --- vm/vmimpl/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/vmimpl') diff --git a/vm/vmimpl/util.go b/vm/vmimpl/util.go index 616ccb3ac..1df9f4359 100644 --- a/vm/vmimpl/util.go +++ b/vm/vmimpl/util.go @@ -42,7 +42,7 @@ func WaitForSSH(debug bool, timeout time.Duration, addr, sshKey, sshUser, OS str return nil } if time.Since(startTime) > timeout { - return &osutil.VerboseError{"can't ssh into the instance", []byte(err.Error())} + return &osutil.VerboseError{Title: "can't ssh into the instance", Output: []byte(err.Error())} } } } -- cgit mrf-deployment