implement batched index retrieval in GetIndexes method

This commit is contained in:
ionutboangiu
2025-09-12 06:36:24 +03:00
committed by Dan Christian Bogos
parent 8d05c14aec
commit 8546c4c64e
16 changed files with 112 additions and 117 deletions

View File

@@ -91,7 +91,7 @@ func TestFilterIndexUpdates(t *testing.T) {
}
indexes, err := dm.GetIndexes(utils.CacheAttributeFilterIndexes, "cgrates.org:simpleauth",
"", true, false)
true, false)
if err != nil {
if len(want) == 0 && err == utils.ErrNotFound {
return