Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused flag for karmadactl promote #2193

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

carlory
Copy link
Member

@carlory carlory commented Jul 14, 2022

Signed-off-by: carlory baofa.fan@daocloud.io

What type of PR is this?

/kind bug

What this PR does / why we need it:

After #1795 is merged, the --cluster-namespace flag should be removed.

Does this PR introduce a user-facing change?:

`karmadactl`: removed the `--cluster-namespace` flag for `promote` command.

@karmada-bot karmada-bot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 14, 2022
@karmada-bot karmada-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 14, 2022
Signed-off-by: carlory <baofa.fan@daocloud.io>
@carlory
Copy link
Member Author

carlory commented Jul 15, 2022

/cc @lonelyCZ @XiShanYongYe-Chang

@carlory
Copy link
Member Author

carlory commented Jul 15, 2022

/assign @lonelyCZ @XiShanYongYe-Chang

Copy link
Member

@XiShanYongYe-Chang XiShanYongYe-Chang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to consider marking this flag as deprecated and remove it in next release?

@carlory
Copy link
Member Author

carlory commented Jul 16, 2022

@XiShanYongYe-Chang

#2190 is removed de directly.

I'm not sure what rules to follow to remove unused flags

/cc @RainbowMango

@RainbowMango
Copy link
Member

For the flags that the user can't use, we can remove them directly.

Copy link
Member

@XiShanYongYe-Chang XiShanYongYe-Chang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok
/lgtm

@karmada-bot karmada-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2022
@lonelyCZ
Copy link
Member

For the flags that the user can't use, we can remove them directly.

That's right.

/lgtm

@carlory
Copy link
Member Author

carlory commented Jul 17, 2022

@lonelyCZ @XiShanYongYe-Chang @RainbowMango

Could you give me an approve label on this pr?

@RainbowMango
Copy link
Member

/approve

@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2022
@karmada-bot karmada-bot merged commit fa4feca into karmada-io:master Jul 18, 2022
@carlory carlory deleted the fix-karmadactldescribe branch July 18, 2022 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants