mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
log intervals only if exists
This commit is contained in:
@@ -153,7 +153,9 @@ func (cd *CallDescriptor) SearchStorageForPrefix() (destPrefix string, err error
|
||||
}
|
||||
//load the activation preriods
|
||||
if err == nil && len(values) > 0 {
|
||||
Logger.Debug(fmt.Sprintf("Activation periods: ", values[0].Intervals))
|
||||
if len(values[0].Intervals) > 0 {
|
||||
Logger.Debug(fmt.Sprintf("Activation periods: ", values[0].Intervals))
|
||||
}
|
||||
cd.ActivationPeriods = values
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user