mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
test: Fix golangci-lint error for s390x
This is to fix a test failure for the kata-containers-2.0-ubuntu-20.04-s390x-main-baseline jenkins job Fixes: #4088 Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
parent
66aa07649b
commit
d136c9c240
@ -126,7 +126,7 @@ func TestKvmIsUsable(t *testing.T) {
|
|||||||
kvmDevice = savedKvmDevice
|
kvmDevice = savedKvmDevice
|
||||||
}()
|
}()
|
||||||
|
|
||||||
err = kvmIsUsable()
|
err := kvmIsUsable()
|
||||||
assert.Error(err)
|
assert.Error(err)
|
||||||
|
|
||||||
err = createEmptyFile(fakeKVMDevice)
|
err = createEmptyFile(fakeKVMDevice)
|
||||||
|
Loading…
Reference in New Issue
Block a user