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 useless code and fix typo error #653

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

googs1025
Copy link
Contributor

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
fix some typo error
Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@clusterpedia-bot
Copy link

Hi @googs1025,
Thanks for your pull request!
If the PR is ready, use the /auto-cc command to assign Reviewer to Review.
We will review it shortly.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@clusterpedia-bot clusterpedia-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Feb 17, 2024
Copy link
Member

@Iceber Iceber left a comment

Choose a reason for hiding this comment

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

Some changes needed, others look good!

Thanks for your contribution.

@@ -604,12 +604,12 @@ func buildClusterConfig(cluster *clusterv1alpha2.PediaCluster) (*rest.Config, er
}

if cluster.Spec.APIServer == "" {
return nil, errors.New("Cluster APIServer Endpoint is required")
return nil, errors.New("cluster APIServer Endpoint is required")
Copy link
Member

Choose a reason for hiding this comment

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

Here they are treated as a special whole that can begin with a capitalization.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I got it, thank you for your review.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Iceber Already modified, thanks for reviewing again.

pkg/synchromanager/clustersynchro_manager.go Outdated Show resolved Hide resolved
Copy link
Member

@Iceber Iceber left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks

@Iceber Iceber merged commit aff6901 into clusterpedia-io:main Feb 18, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants