Skip to content

Commit 4222f8a

Browse files
committed
Fix lint
1 parent b98a6f6 commit 4222f8a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

pkg/ext-proc/controller/inferencemodel_reconciler_test.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -301,24 +301,3 @@ func populateServiceMap(services ...*v1alpha1.InferenceModel) *sync.Map {
301301
}
302302
return returnVal
303303
}
304-
305-
func mapsEqual(map1, map2 *sync.Map) bool {
306-
equal := true
307-
308-
map1.Range(func(k, v any) bool {
309-
if _, ok := map2.Load(k); !ok {
310-
equal = false
311-
return false
312-
}
313-
return true
314-
})
315-
map2.Range(func(k, v any) bool {
316-
if _, ok := map1.Load(k); !ok {
317-
equal = false
318-
return false
319-
}
320-
return true
321-
})
322-
323-
return equal
324-
}

0 commit comments

Comments
 (0)