mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
Removed logs from apier/v1/stats.go
This commit is contained in:
committed by
Dan Christian Bogos
parent
03fce91219
commit
905d389587
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
package v1
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/cgrates/cgrates/engine"
|
||||
@@ -66,7 +65,6 @@ func (APIerSv1 *APIerSv1) SetStatQueueProfile(arg *engine.StatQueueWithCache, re
|
||||
if missing := utils.MissingStructFields(arg.StatQueueProfile, []string{"Tenant", "ID"}); len(missing) != 0 {
|
||||
return utils.NewErrMandatoryIeMissing(missing...)
|
||||
}
|
||||
utils.Logger.Warning(fmt.Sprintf("yay2================================================================"))
|
||||
if err := APIerSv1.DataManager.SetStatQueueProfile(arg.StatQueueProfile, true); err != nil {
|
||||
return utils.APIErrorHandler(err)
|
||||
}
|
||||
@@ -87,7 +85,6 @@ func (APIerSv1 *APIerSv1) SetStatQueueProfile(arg *engine.StatQueueWithCache, re
|
||||
if has, err := APIerSv1.DataManager.HasData(utils.StatQueuePrefix, arg.ID, arg.Tenant); err != nil {
|
||||
return err
|
||||
} else if !has {
|
||||
utils.Logger.Warning(fmt.Sprintf("yay2================================================================"))
|
||||
//compose metrics for StatQueue
|
||||
metrics := make(map[string]engine.StatMetric)
|
||||
for _, metric := range arg.Metrics {
|
||||
|
||||
Reference in New Issue
Block a user