From f4c4653c08f68e564839061603edee5636ad0ba7 Mon Sep 17 00:00:00 2001 From: Shubham Pampattiwar Date: Mon, 15 Dec 2025 14:07:52 -0800 Subject: [PATCH] Fix linter errors: use 'any' instead of 'interface{}' Signed-off-by: Shubham Pampattiwar --- pkg/backup/actions/csi/pvc_action_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/backup/actions/csi/pvc_action_test.go b/pkg/backup/actions/csi/pvc_action_test.go index eeb6d16e2..8fad3821a 100644 --- a/pkg/backup/actions/csi/pvc_action_test.go +++ b/pkg/backup/actions/csi/pvc_action_test.go @@ -2163,7 +2163,7 @@ func TestGetOrCreateVolumeHelperConcurrency(t *testing.T) { // Run multiple goroutines concurrently to get VolumeHelper const numGoroutines = 10 - results := make(chan interface{}, numGoroutines) + results := make(chan any, numGoroutines) errors := make(chan error, numGoroutines) for i := 0; i < numGoroutines; i++ { @@ -2178,7 +2178,7 @@ func TestGetOrCreateVolumeHelperConcurrency(t *testing.T) { } // Collect all results - var volumeHelpers []interface{} + var volumeHelpers []any for i := 0; i < numGoroutines; i++ { select { case vh := <-results: