Fix linter errors: use 'any' instead of 'interface{}'

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
This commit is contained in:
Shubham Pampattiwar
2025-12-15 14:07:52 -08:00
parent 987edf5037
commit f4c4653c08

View File

@@ -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: