bump golangci-lint to v1.45.0

* supports Go 1.18
* disable a number of new linters
* fix minor stylecheck issues

[NO NEW TESTS NEEDED]

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2022-03-21 10:28:35 +01:00
parent 447e947aed
commit 026bd9b205
5 changed files with 21 additions and 4 deletions

View File

@ -370,7 +370,7 @@ func (v *MachineVM) Start(name string, _ machine.StartOptions) error {
conn net.Conn
err error
qemuSocketConn net.Conn
wait time.Duration = time.Millisecond * 500
wait = time.Millisecond * 500
)
if v.isIncompatible() {