-
Notifications
You must be signed in to change notification settings - Fork 122
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
Conversation
Hi @googs1025, DetailsInstructions for interacting with me using comments are available here. |
There was a problem hiding this 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") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Signed-off-by: googs1025 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks
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?: