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

tests: cleanup unnecessary assignment in cluster.go #16271

Merged
merged 1 commit into from
Jul 20, 2023
Merged

tests: cleanup unnecessary assignment in cluster.go #16271

merged 1 commit into from
Jul 20, 2023

Conversation

johnshajiang
Copy link
Contributor

@johnshajiang johnshajiang commented Jul 19, 2023

Please review this simple patch on tests/framework/integration/cluster.go.

It looks unnecessary to assign the value returned by net.SplitHostPort to variable host.

@ahrtr
Copy link
Member

ahrtr commented Jul 19, 2023

Please signoff the commit. Please read https://github.com/etcd-io/etcd/pull/16271/checks?check_run_id=15160987026

@johnshajiang johnshajiang changed the title tests: cleanup cluster.go on unnecessary assignment and exported method tests: cleanup unnecessary assignment in cluster.go Jul 19, 2023
Signed-off-by: John Jiang <john.sha.jiang@gmail.com>
@johnshajiang
Copy link
Contributor Author

@ahrtr
Thanks for your review!
I just addressed all your suggestions.

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

@ahrtr
Copy link
Member

ahrtr commented Jul 20, 2023

@johnshajiang Welcome to the community and thx for your first PR.

@ahrtr ahrtr merged commit cd453b9 into etcd-io:main Jul 20, 2023
@johnshajiang
Copy link
Contributor Author

@ahrtr @fuweid
Thanks very much for approving my first etcd patch ;-)

@johnshajiang johnshajiang deleted the cleanup-cluster branch July 20, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants