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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user