Merge pull request #1892 from xyz2277/karmada-zyx-9
a bad log was found when doing promote
This commit is contained in:
commit
05101ebfdb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue