diff --git a/features/pm/performance.go b/features/pm/performance.go index f45ec95f..135ace03 100644 --- a/features/pm/performance.go +++ b/features/pm/performance.go @@ -321,6 +321,9 @@ func PostKPIReportFromNF(w http.ResponseWriter, r *http.Request) { if *k.Unit == "%" && result > 100 { result = 100 } + if *k.Unit == "%" && result < 0 { + result = 0 + } kpiCVal.Value = result }