mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Refactor balance's Factor field name with its plural form
Stored balances previous to this commit, that had a non-nil Factors map, will now have Factors nil due to field name mismatch.
This commit is contained in:
committed by
Dan Christian Bogos
parent
45066b2d2f
commit
bd4aa99458
@@ -1263,7 +1263,7 @@ func resetAccountCDR(ub *Account, action *Action, acts Actions, fltrS *FilterS,
|
||||
Value: &utils.ValueFormula{Static: bsum.Value},
|
||||
Weight: &bsum.Weight,
|
||||
Disabled: &bsum.Disabled,
|
||||
Factor: &bsum.Factors,
|
||||
Factors: &bsum.Factors,
|
||||
},
|
||||
}, fltrS); err != nil {
|
||||
utils.Logger.Warning(fmt.Sprintf("<%s> Error %s setting balance %s for account: %s", utils.Actions, err, bsum.UUID, account))
|
||||
|
||||
Reference in New Issue
Block a user