mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
Update config.checkConfigSanity
This commit is contained in:
committed by
Dan Christian Bogos
parent
06bdb4f51c
commit
56147d905d
@@ -362,6 +362,11 @@ func (self *CGRConfig) checkConfigSanity() error {
|
||||
return fmt.Errorf("<CDRS> Cannot find CDR export template with ID: <%s>", cdrePrfl)
|
||||
}
|
||||
}
|
||||
for _, connCfg := range self.CDRSThresholdSConns {
|
||||
if connCfg.Address == utils.MetaInternal && !self.thresholdSCfg.Enabled {
|
||||
return errors.New("ThresholdS not enabled but requested by CDRS component.")
|
||||
}
|
||||
}
|
||||
}
|
||||
// CDRC sanity checks
|
||||
for _, cdrcCfgs := range self.CdrcProfiles {
|
||||
|
||||
Reference in New Issue
Block a user