Skip to content

Commit ebe8ea7

Browse files
committed
fix: linting
1 parent 87bf6cd commit ebe8ea7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/storage/filesystem/btrfs_ci_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ func basePoolTest(t *testing.T, pool Pool) {
158158

159159
assert.Equal(t, path.Join("/mnt", pool.Name(), "subvol1"), volume.Path())
160160
})
161-
defer pool.RemoveVolume("subvol1")
161+
defer func() {
162+
err := pool.RemoveVolume("subvol1")
163+
require.NoError(t, err)
164+
}()
162165

163166
t.Run("test list volumes", func(t *testing.T) {
164167
volumes, err := pool.Volumes()

0 commit comments

Comments
 (0)