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 ListAllComputeTemplates proto comments #407

Merged
merged 2 commits into from
Jul 25, 2022
Merged

Fix ListAllComputeTemplates proto comments #407

merged 2 commits into from
Jul 25, 2022

Conversation

MissiontoMars
Copy link
Contributor

@MissiontoMars MissiontoMars commented Jul 25, 2022

Why are these changes needed?

Fix the comment of ListAllComputeTemplates on swagger-ui.

Related issue number

Checks

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

@MissiontoMars
Copy link
Contributor Author

@Basasuya

@@ -211,7 +211,7 @@ func (r *ResourceManager) ListComputeTemplates(ctx context.Context, namespace st
client := r.getKubernetesConfigMapClient(namespace)
configMapList, err := client.List(ctx, metav1.ListOptions{LabelSelector: "ray.io/config-type=compute-template"})
if err != nil {
return nil, util.Wrap(err, "List compute runtimes failed")
return nil, util.Wrap(err, "List compute templates failed")
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice catch. We use template to replace original runtime. This comes from previous code and we forgot to update them.

@Jeffwan Jeffwan merged commit 09c7da3 into ray-project:master Jul 25, 2022
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
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.

None yet

2 participants