diff --git a/internal/volumehelper/volume_policy_helper_test.go b/internal/volumehelper/volume_policy_helper_test.go index 278c2af68..8d6073c2b 100644 --- a/internal/volumehelper/volume_policy_helper_test.go +++ b/internal/volumehelper/volume_policy_helper_test.go @@ -322,7 +322,6 @@ func TestVolumeHelperImpl_ShouldPerformSnapshot(t *testing.T) { t.Fatalf("failed to build policy with error %v", err) } } - //nolint:staticcheck // Testing deprecated function for backwards compatibility vh := NewVolumeHelperImpl( p, tc.snapshotVolumesFlag, @@ -688,7 +687,6 @@ func TestVolumeHelperImpl_ShouldPerformFSBackup(t *testing.T) { t.Fatalf("failed to build policy with error %v", err) } } - //nolint:staticcheck // Testing deprecated function for backwards compatibility vh := NewVolumeHelperImpl( p, tc.snapshotVolumesFlag,