mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
Added migration for DerivedChargers to ChargersProfile and tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
b6846ff1f5
commit
1d9c1f03e9
@@ -340,6 +340,10 @@ func ConcatenatedKey(keyVals ...string) string {
|
||||
return strings.Join(keyVals, CONCATENATED_KEY_SEP)
|
||||
}
|
||||
|
||||
func SplitConcatenatedKey(key string) []string {
|
||||
return strings.Split(key, CONCATENATED_KEY_SEP)
|
||||
}
|
||||
|
||||
func LCRKey(direction, tenant, category, account, subject string) string {
|
||||
return ConcatenatedKey(direction, tenant, category, account, subject)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user