We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98a6f6 commit 4222f8aCopy full SHA for 4222f8a
pkg/ext-proc/controller/inferencemodel_reconciler_test.go
@@ -301,24 +301,3 @@ func populateServiceMap(services ...*v1alpha1.InferenceModel) *sync.Map {
301
}
302
return returnVal
303
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
318
319
320
321
322
323
- return equal
324
-}
0 commit comments