diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-01-25 07:29:31 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-01-25 07:29:31 +0100 |
| commit | b5d78bce088100d3b203dda43df81f2a7293d6f3 (patch) | |
| tree | 0056da3fffb4c298457a1a161bf2d3f1dacc8ed6 /vm | |
| parent | a778e1a2892e60aab3925db9bab6e5a107a5acfe (diff) | |
vm/vmimpl: fix vet warning about unkeyed struct
Diffstat (limited to 'vm')
| -rw-r--r-- | vm/vmimpl/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
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())} } } } |
