mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fix a couple more go vet errors
This commit is contained in:
committed by
Dan Christian Bogos
parent
a9e0b9b67d
commit
49bf8abc53
@@ -129,7 +129,7 @@ func TestSafEventString(t *testing.T) {
|
||||
for i := 0; i < 10; i++ {
|
||||
t.Run("string", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
se.String()
|
||||
_ = se.String()
|
||||
})
|
||||
t.Run("remove", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -62,12 +62,15 @@ func TestV2ActionTriggerAsThreshold(t *testing.T) {
|
||||
Rules: filters}
|
||||
|
||||
thp := &engine.ThresholdProfile{
|
||||
ID: v2ATR.ID,
|
||||
Tenant: config.CgrConfig().GeneralCfg().DefaultTenant,
|
||||
Blocker: false,
|
||||
Weight: v2ATR.Weight,
|
||||
ActivationInterval: &utils.ActivationInterval{v2ATR.ExpirationDate, v2ATR.ActivationDate},
|
||||
MinSleep: v2ATR.MinSleep,
|
||||
ID: v2ATR.ID,
|
||||
Tenant: config.CgrConfig().GeneralCfg().DefaultTenant,
|
||||
Blocker: false,
|
||||
Weight: v2ATR.Weight,
|
||||
ActivationInterval: &utils.ActivationInterval{
|
||||
ExpiryTime: v2ATR.ExpirationDate,
|
||||
ActivationTime: v2ATR.ActivationDate,
|
||||
},
|
||||
MinSleep: v2ATR.MinSleep,
|
||||
}
|
||||
th := &engine.Threshold{
|
||||
Tenant: config.CgrConfig().GeneralCfg().DefaultTenant,
|
||||
|
||||
Reference in New Issue
Block a user