mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Revert "Fixed loadFromJsonCfg method for SessionSCfg"
This reverts commit c0b4afb8a4.
This commit is contained in:
committed by
Dan Christian Bogos
parent
dc95af8408
commit
95ee9861ff
@@ -288,13 +288,7 @@ func (scfg *SessionSCfg) loadFromJsonCfg(jsnCfg *SessionSJsonCfg) (err error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if jsnCfg.Stir != nil {
|
||||
scfg.STIRCfg = new(STIRcfg)
|
||||
if err := scfg.STIRCfg.loadFromJSONCfg(jsnCfg.Stir); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
return scfg.STIRCfg.loadFromJSONCfg(jsnCfg.Stir)
|
||||
}
|
||||
|
||||
func (scfg *SessionSCfg) AsMapInterface() map[string]interface{} {
|
||||
|
||||
Reference in New Issue
Block a user