Merge pull request #4086 from BbolroC/s390x-fix

test: Fix golangci-lint error for s390x
This commit is contained in:
Chelsea Mafrica
2022-04-15 21:07:09 -07:00
committed by GitHub

View File

@@ -126,7 +126,7 @@ func TestKvmIsUsable(t *testing.T) {
kvmDevice = savedKvmDevice
}()
err = kvmIsUsable()
err := kvmIsUsable()
assert.Error(err)
err = createEmptyFile(fakeKVMDevice)