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

fix remove node check #1666

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

zhangzhiqiangcs
Copy link
Contributor

What this PR does / why we need it:

fix remove node check may misstake hostnames that contains master string.
If node name is master-1, it will be considered a master node and forbidden remove the node.

@ks-ci-bot ks-ci-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 17, 2022
@zhangzhiqiangcs
Copy link
Contributor Author

/assign @rayzhou2017

@zhangzhiqiangcs
Copy link
Contributor Author

/kind bug

@ks-ci-bot ks-ci-bot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 17, 2022
@zhangzhiqiangcs
Copy link
Contributor Author

/assign pixiake

@pixiake
Copy link
Collaborator

pixiake commented Dec 20, 2022

@zhangzhiqiangcs Thanks for this contribution !

@pixiake
Copy link
Collaborator

pixiake commented Dec 20, 2022

@all-contributors please add @zhangzhiqiangcs for code

@pixiake
Copy link
Collaborator

pixiake commented Dec 20, 2022

/lgtm
/approve

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 20, 2022
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 8c0551cdb444c5f3d740c7d43c1dffe939b95fd0

@allcontributors
Copy link
Contributor

@pixiake

I've put up a pull request to add @zhangzhiqiangcs! 🎉

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pixiake, zhangzhiqiangcs

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

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2022
@ks-ci-bot ks-ci-bot merged commit 0be93c5 into kubesphere:master Dec 20, 2022
@zhangzhiqiangcs zhangzhiqiangcs deleted the fix-remove-node-check branch January 13, 2024 10:51
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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants