From 503eda6fe852edbc63f11049b10a7f83d342602f Mon Sep 17 00:00:00 2001 From: orangedeng Date: Thu, 1 Aug 2019 10:06:01 +0800 Subject: [PATCH] Remove scaling limited from error map **Problem:** The `ScalingLimited` will set to true when the target workload's cpu useage is zero. In this case, we should not set state to error. **Solution:** Remove `ScalingLimited` from reverseErrorMap. --- status/status.go | 1 - 1 file changed, 1 deletion(-) diff --git a/status/status.go b/status/status.go index f654b1ab..ceca8fc2 100644 --- a/status/status.go +++ b/status/status.go @@ -74,7 +74,6 @@ var reverseErrorMap = map[string]bool{ "KernelHasNoDeadlock": true, "Unschedulable": true, "ReplicaFailure": true, - "ScalingLimited": true, } // True ==