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
commit 0af13b469d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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