diff --git a/pkg/descheduler/descheduler.go b/pkg/descheduler/descheduler.go index 01f6f1809c..783497faea 100644 --- a/pkg/descheduler/descheduler.go +++ b/pkg/descheduler/descheduler.go @@ -186,7 +186,7 @@ func cachedClient( for _, item := range namespaces { if _, err := fakeClient.CoreV1().Namespaces().Create(context.TODO(), item, metav1.CreateOptions{}); err != nil { - return nil, fmt.Errorf("unable to copy node: %v", err) + return nil, fmt.Errorf("unable to copy namespace: %v", err) } }