mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Adde pointer when call-cache from apiopts
This commit is contained in:
committed by
Dan Christian Bogos
parent
04f64e5a66
commit
636ae84997
@@ -172,7 +172,7 @@ func (apierSv1 *APIerSv1) callCacheForRemoveIndexes(cacheopt string, tnt, cacheI
|
||||
method = utils.CacheSv1RemoveItems
|
||||
case utils.MetaClear:
|
||||
method = utils.CacheSv1Clear
|
||||
args = utils.AttrCacheIDsWithAPIOpts{
|
||||
args = &utils.AttrCacheIDsWithAPIOpts{
|
||||
Tenant: tnt,
|
||||
CacheIDs: []string{cacheID},
|
||||
APIOpts: opts,
|
||||
@@ -201,7 +201,7 @@ func (apierSv1 *APIerSv1) callCacheForComputeIndexes(cacheopt, tnt string,
|
||||
for idx := range cacheItems {
|
||||
cacheIDs = append(cacheIDs, idx)
|
||||
}
|
||||
args = utils.AttrCacheIDsWithAPIOpts{
|
||||
args = &utils.AttrCacheIDsWithAPIOpts{
|
||||
Tenant: tnt,
|
||||
CacheIDs: cacheIDs,
|
||||
APIOpts: opts,
|
||||
|
||||
Reference in New Issue
Block a user