1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

refactor: optimize error descriptions

This commit is contained in:
zhifei92
2024-07-09 17:14:34 +08:00
parent e60f525ec6
commit 578086ca8e

View File

@@ -35,7 +35,7 @@ var _ error = &EvictionNamespaceLimitError{}
type EvictionTotalLimitError struct{} type EvictionTotalLimitError struct{}
func (e EvictionTotalLimitError) Error() string { func (e EvictionTotalLimitError) Error() string {
return "maximum number of evicted pods total reached" return "maximum number of evicted pods per a descheduling cycle reached"
} }
func NewEvictionTotalLimitError() *EvictionTotalLimitError { func NewEvictionTotalLimitError() *EvictionTotalLimitError {