mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-09-06 12:57:18 +00:00
notSupportedError signals that a usage client cannot quantify per-pod resource usage (for example the Prometheus client). Its Error() method returned "maximum number of evicted pods per node reached", which is unrelated to that condition and misleading when it surfaces in logs. Return a message that actually describes the error. Signed-off-by: Mukul <nmukul32@gmail.com>