Fix typo log message for cachedClient

Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
yanggang
2023-04-07 09:31:47 +08:00
parent ae24dceaae
commit e96c570ff4
+1 -1
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)
}
}