mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 21:59:53 +05:00
Remove else from if
This commit is contained in:
committed by
Dan Christian Bogos
parent
f70b9a11f1
commit
6538483e55
@@ -69,10 +69,9 @@ func (lcs *QOSSupplierSorter) SortSuppliers(prflID string, suppls []*Supplier,
|
||||
}
|
||||
}
|
||||
if hasMetric == false { //if not have populate with default value
|
||||
srtData[metric] = -1
|
||||
if metric == utils.MetaPDD {
|
||||
srtData[metric] = 1000000
|
||||
} else {
|
||||
srtData[metric] = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user