Fixed misleading or outdate comments about --cluster-namespace flag
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
This commit is contained in:
parent
821a18542e
commit
f5eeaf6dd3
|
@ -105,7 +105,7 @@ type CommandGetOptions struct {
|
||||||
// global flags
|
// global flags
|
||||||
options.GlobalCommandOptions
|
options.GlobalCommandOptions
|
||||||
|
|
||||||
// ClusterNamespace holds the namespace name where the member cluster objects are stored.
|
// ClusterNamespace holds the namespace name where the member cluster secrets are stored.
|
||||||
ClusterNamespace string
|
ClusterNamespace string
|
||||||
|
|
||||||
Clusters []string
|
Clusters []string
|
||||||
|
|
|
@ -64,7 +64,7 @@ func joinExample(parentCommand string) string {
|
||||||
type CommandJoinOption struct {
|
type CommandJoinOption struct {
|
||||||
options.GlobalCommandOptions
|
options.GlobalCommandOptions
|
||||||
|
|
||||||
// ClusterNamespace holds the namespace name where the member cluster objects are stored.
|
// ClusterNamespace holds the namespace name where the member cluster secrets are stored.
|
||||||
ClusterNamespace string
|
ClusterNamespace string
|
||||||
|
|
||||||
// ClusterName is the cluster's name that we are going to join with.
|
// ClusterName is the cluster's name that we are going to join with.
|
||||||
|
|
|
@ -95,7 +95,7 @@ type CommandPromoteOption struct {
|
||||||
// Cluster is the name of legacy cluster
|
// Cluster is the name of legacy cluster
|
||||||
Cluster string
|
Cluster string
|
||||||
|
|
||||||
// ClusterNamespace holds the namespace name where the member cluster objects are stored.
|
// ClusterNamespace holds the namespace name where the member cluster secrets are stored.
|
||||||
ClusterNamespace string
|
ClusterNamespace string
|
||||||
|
|
||||||
// Namespace is the namespace of legacy resource
|
// Namespace is the namespace of legacy resource
|
||||||
|
|
|
@ -73,7 +73,7 @@ func unjoinExample(parentCommand string) string {
|
||||||
type CommandUnjoinOption struct {
|
type CommandUnjoinOption struct {
|
||||||
options.GlobalCommandOptions
|
options.GlobalCommandOptions
|
||||||
|
|
||||||
// ClusterNamespace holds the namespace name where the member cluster objects are stored.
|
// ClusterNamespace holds namespace where the member cluster secrets are stored
|
||||||
ClusterNamespace string
|
ClusterNamespace string
|
||||||
|
|
||||||
// ClusterName is the cluster's name that we are going to join with.
|
// ClusterName is the cluster's name that we are going to join with.
|
||||||
|
|
Loading…
Reference in New Issue