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

[Style] Fix golangci-lint rule: govet #2144

Merged

Conversation

MortalHappiness
Copy link
Member

@MortalHappiness MortalHappiness commented May 11, 2024

Why are these changes needed?

Based on #2128, there are some rules that need manual fixing. This PR fixes the rule: govet

See https://golangci-lint.run/usage/linters/ for details.

Related issue number

N/A

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

@MortalHappiness MortalHappiness marked this pull request as draft May 11, 2024 22:07
@MortalHappiness MortalHappiness marked this pull request as ready for review May 13, 2024 18:51
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

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

This PR updates xxxx_types.go. Hence, you need to regenerate CRD again.

@kevin85421 kevin85421 self-assigned this May 15, 2024
@MortalHappiness
Copy link
Member Author

MortalHappiness commented May 15, 2024

This PR updates xxxx_types.go. Hence, you need to regenerate CRD again.

Done. I've run make sync and make generate.

@MortalHappiness MortalHappiness marked this pull request as draft May 15, 2024 12:53
@MortalHappiness MortalHappiness marked this pull request as ready for review May 16, 2024 18:18
@MortalHappiness MortalHappiness marked this pull request as draft May 16, 2024 18:19
Signed-off-by: Chi-Sheng Liu <chishengliu@chishengliu.com>
Signed-off-by: Chi-Sheng Liu <chishengliu@chishengliu.com>
@MortalHappiness MortalHappiness marked this pull request as ready for review June 14, 2024 15:01
// Deprecated: This field is not used anymore. ref: https://github.com/ray-project/kuberay/issues/1685
ServiceUnhealthySecondThreshold *int32 `json:"serviceUnhealthySecondThreshold,omitempty"`
// Deprecated: This field is not used anymore. ref: https://github.com/ray-project/kuberay/issues/1685
DeploymentUnhealthySecondThreshold *int32 `json:"deploymentUnhealthySecondThreshold,omitempty"`
// ServeService is the Kubernetes service for head node and worker nodes who have healthy http proxy to serve traffics.
ServeService *corev1.Service `json:"serveService,omitempty"`
// Important: Run "make" to regenerate code after modifying this file
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can delete this line?

Copy link
Member

Choose a reason for hiding this comment

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

Let's merge this PR for now. We can address this comment in any follow up PR.

@kevin85421 kevin85421 merged commit a43217b into ray-project:master Jun 24, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants