mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-11 01:24:21 +01: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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user