Remove else from if

This commit is contained in:
TeoV
2018-07-30 07:43:34 -04:00
committed by Dan Christian Bogos
parent f70b9a11f1
commit 6538483e55

View File

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