Changed consts in utils

This commit is contained in:
andronache
2021-01-08 15:42:01 +02:00
committed by Dan Christian Bogos
parent 36da1a6309
commit 1d0a814e42
255 changed files with 3894 additions and 3888 deletions

View File

@@ -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)