mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update the function to use the correct tenant variable when calling GetStatQueue
This commit is contained in:
committed by
Dan Christian Bogos
parent
7e7db3f027
commit
0fa958b267
@@ -544,7 +544,7 @@ func (sS *StatService) V1ResetStatQueue(tntID *utils.TenantID, rply *string) (er
|
||||
statQueueLockKey(tnt, tntID.ID))
|
||||
defer guardian.Guardian.UnguardIDs(lkID)
|
||||
var sq *StatQueue
|
||||
if sq, err = sS.dm.GetStatQueue(tntID.Tenant, tntID.ID,
|
||||
if sq, err = sS.dm.GetStatQueue(tnt, tntID.ID,
|
||||
true, true, utils.NonTransactional); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user