mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
Added loaders template for dispatcher
This commit is contained in:
committed by
Tripon Alexandru-Ionut
parent
4f6f30ef3c
commit
339effa98e
@@ -43,7 +43,7 @@ func (hcs *HightCostSorter) SortSuppliers(prflID string, suppls []*Supplier,
|
||||
for _, s := range suppls {
|
||||
if len(s.RatingPlanIDs) == 0 {
|
||||
utils.Logger.Warning(
|
||||
fmt.Sprintf("<%s> RatingPlanIDs is empty for suplier with ID: %s",
|
||||
fmt.Sprintf("<%s> supplier: <%s> - empty RatingPlanIDs",
|
||||
utils.SupplierS, s.ID))
|
||||
return nil, utils.NewErrMandatoryIeMissing("RatingPlanIDs")
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ func (lcs *LeastCostSorter) SortSuppliers(prflID string, suppls []*Supplier,
|
||||
for _, s := range suppls {
|
||||
if len(s.RatingPlanIDs) == 0 {
|
||||
utils.Logger.Warning(
|
||||
fmt.Sprintf("<%s> RatingPlanIDs is empty for suplier with ID: %s",
|
||||
fmt.Sprintf("<%s> supplier: <%s> - empty RatingPlanIDs",
|
||||
utils.SupplierS, s.ID))
|
||||
return nil, utils.NewErrMandatoryIeMissing("RatingPlanIDs")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user