Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabil-Salah committed Dec 3, 2024
1 parent 87bf6cd commit 8f61266
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/storage/filesystem/btrfs_ci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ func basePoolTest(t *testing.T, pool Pool) {

assert.Equal(t, path.Join("/mnt", pool.Name(), "subvol1"), volume.Path())
})
defer pool.RemoveVolume("subvol1")
defer func(){
err := pool.RemoveVolume("subvol1")
require.NoError(t, err)
}()

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

0 comments on commit 8f61266

Please sign in to comment.