mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 06:09:53 +05:00
TPReader using GetTPThresholds
This commit is contained in:
@@ -1660,9 +1660,8 @@ func (tpr *TpReader) LoadStats() error {
|
||||
return tpr.LoadStatsFiltered("")
|
||||
}
|
||||
|
||||
|
||||
func (tpr *TpReader) LoadThresholdsFiltered(tag string) (err error) {
|
||||
tps, err := tpr.lr.GetTPThreshold(tpr.tpid, tag)
|
||||
tps, err := tpr.lr.GetTPThresholds(tpr.tpid, tag)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user