TPReader using GetTPThresholds

This commit is contained in:
DanB
2017-10-24 18:53:50 +02:00
parent cc2cba52f0
commit 038309e42b

View File

@@ -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
}