diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-14 15:47:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 15:47:23 +0100 |
commit | 564bd693cae4e8a870be7a7860ef673e793f6358 (patch) | |
tree | ab395cdeab8814c2d3b426cf5215246057ff87ba /libpod/lock/file/file_lock_test.go | |
parent | 3961882ffe9e1cb83adab483caf39a0db5b4430a (diff) | |
parent | 460887edca95605ee203893448d98986a2521e2d (diff) | |
download | podman-564bd693cae4e8a870be7a7860ef673e793f6358.tar.gz podman-564bd693cae4e8a870be7a7860ef673e793f6358.tar.bz2 podman-564bd693cae4e8a870be7a7860ef673e793f6358.zip |
Merge pull request #4858 from vrothberg/enable-linters
make lint: extend checks
Diffstat (limited to 'libpod/lock/file/file_lock_test.go')
-rw-r--r-- | libpod/lock/file/file_lock_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/lock/file/file_lock_test.go b/libpod/lock/file/file_lock_test.go index 6320d6b70..7ac8bf31a 100644 --- a/libpod/lock/file/file_lock_test.go +++ b/libpod/lock/file/file_lock_test.go @@ -17,10 +17,10 @@ func TestCreateAndDeallocate(t *testing.T) { assert.NoError(t, err) defer os.RemoveAll(d) - l, err := OpenFileLock(filepath.Join(d, "locks")) + _, err = OpenFileLock(filepath.Join(d, "locks")) assert.Error(t, err) - l, err = CreateFileLock(filepath.Join(d, "locks")) + l, err := CreateFileLock(filepath.Join(d, "locks")) assert.NoError(t, err) lock, err := l.AllocateLock() |