Skip to content

fix: correct grammar and typos in code comments#1062

Merged
volcano-sh-bot merged 4 commits into
volcano-sh:mainfrom
anirudh240:fix/comment-grammar-types
May 18, 2026
Merged

fix: correct grammar and typos in code comments#1062
volcano-sh-bot merged 4 commits into
volcano-sh:mainfrom
anirudh240:fix/comment-grammar-types

Conversation

@anirudh240
Copy link
Copy Markdown
Contributor

@anirudh240 anirudh240 commented May 15, 2026

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Fix minor grammar and typos in code comments

Signed-off-by: Anirudh <2410030013@klh.edu.in>
Signed-off-by: Anirudh <2410030013@klh.edu.in>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up minor grammar and typo issues in code comments.

Changes:

  • Updates a metrics helper attribution comment from “refer to” to “refers to”.
  • Attempts to clean up spacing in the ModelRouteSpec.ModelName comment.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pkg/kthena-router/backend/metrics/metrics.go Corrects grammar in a function comment.
pkg/apis/networking/v1alpha1/modelroute_types.go Updates a model route field comment, but introduces a duplicated comment marker.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/apis/networking/v1alpha1/modelroute_types.go Outdated
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request includes minor documentation updates and typo fixes. In modelroute_types.go, a comment regarding the ModelName field was updated, but it introduced a double-slash typo and incorrectly referenced ModelAdapters instead of LoraAdapters. In metrics.go, a grammatical error in a function comment was corrected. The feedback identifies the typo and the naming inconsistency in the API documentation, providing a specific code suggestion for correction.

Comment thread pkg/apis/networking/v1alpha1/modelroute_types.go Outdated
Signed-off-by: Anirudh <2410030013@klh.edu.in>
Signed-off-by: Anirudh <2410030013@klh.edu.in>
Copilot AI review requested due to automatic review settings May 15, 2026 06:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 5 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown
Contributor

@FAUST-BENCHOU FAUST-BENCHOU left a comment

Choose a reason for hiding this comment

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

/lgtm

@volcano-sh-bot
Copy link
Copy Markdown
Contributor

@FAUST-BENCHOU: changing LGTM is restricted to collaborators

Details

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Copy Markdown
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

@volcano-sh-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot merged commit 0c7d6ae into volcano-sh:main May 18, 2026
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants