1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Merge pull request #1112 from yanggangtony/fix-error-msg-for-cachedClient

Fix typo log message for cachedClient
This commit is contained in:
Kubernetes Prow Robot
2023-04-06 20:17:15 -07:00
committed by GitHub

View File

@@ -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)
}
}