Changed in multiple structs the field Opts to APIOpts

This commit is contained in:
andronache
2021-03-18 13:16:09 +02:00
committed by Dan Christian Bogos
parent 2938a85146
commit 804cc12c9e
89 changed files with 434 additions and 433 deletions

View File

@@ -29,10 +29,10 @@ import (
"github.com/cgrates/cgrates/utils"
)
// ThresholdProfileWithOpts is used in replicatorV1 for dispatcher
type ThresholdProfileWithOpts struct {
// ThresholdProfileWithAPIOpts is used in replicatorV1 for dispatcher
type ThresholdProfileWithAPIOpts struct {
*ThresholdProfile
Opts map[string]interface{}
APIOpts map[string]interface{}
}
// ThresholdProfile the profile for threshold
@@ -55,10 +55,10 @@ func (tp *ThresholdProfile) TenantID() string {
return utils.ConcatenatedKey(tp.Tenant, tp.ID)
}
// ThresholdWithOpts is used in replicatorV1 for dispatcher
type ThresholdWithOpts struct {
// ThresholdWithAPIOpts is used in replicatorV1 for dispatcher
type ThresholdWithAPIOpts struct {
*Threshold
Opts map[string]interface{}
APIOpts map[string]interface{}
}
// Threshold is the unit matched by filters