Merge pull request #1892 from xyz2277/karmada-zyx-9

a bad log was found when doing promote
This commit is contained in:
karmada-bot 2022-05-26 21:49:45 +08:00 committed by GitHub
commit 05101ebfdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ func createOrUpdatePropagationPolicy(karmadaClient *karmadaclientset.Clientset,
}
// PropagationPolicy already exists, not to create it
return fmt.Errorf("the PropagationPolicy(%s/%s) in control plane: %v", opts.Namespace, name, err)
return fmt.Errorf("the PropagationPolicy(%s/%s) already exist, please edit it to propagate resource", opts.Namespace, name)
}
// createOrUpdateClusterPropagationPolicy create ClusterPropagationPolicy in karmada control plane