mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Changed consts in utils
This commit is contained in:
committed by
Dan Christian Bogos
parent
36da1a6309
commit
1d0a814e42
@@ -266,7 +266,7 @@ func RatingProfileSubjectPrefixMatching(key string) (rp *RatingProfile, err erro
|
||||
if rp, err = dm.GetRatingProfile(key, false, utils.NonTransactional); err == nil && rp != nil { // rp nil represents cached no-result
|
||||
return
|
||||
}
|
||||
lastIndex := strings.LastIndex(key, utils.CONCATENATED_KEY_SEP)
|
||||
lastIndex := strings.LastIndex(key, utils.ConcatenatedKeySep)
|
||||
baseKey := key[:lastIndex]
|
||||
subject := key[lastIndex:]
|
||||
lenSubject := len(subject)
|
||||
|
||||
Reference in New Issue
Block a user