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

refactor vcctl #3494

Merged
merged 1 commit into from
May 31, 2024
Merged

refactor vcctl #3494

merged 1 commit into from
May 31, 2024

Conversation

googs1025
Copy link
Member

@googs1025 googs1025 commented May 26, 2024

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

  • remove duplicate code and use the public code under the util package directly
  • refactor buildJobCmd buildQueueCmd to make the code more readable and extensible
  • use cmd.Context() instead of context.TODO() pass context

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

None

@volcano-sh-bot volcano-sh-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label May 26, 2024
@volcano-sh-bot volcano-sh-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 26, 2024
@googs1025 googs1025 force-pushed the refactor_cli branch 3 times, most recently from fdf734a to afb8028 Compare May 26, 2024 14:50
Signed-off-by: googs1025 <googs1025@gmail.com>
@volcano-sh-bot volcano-sh-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 26, 2024
@googs1025 googs1025 mentioned this pull request May 27, 2024
5 tasks
@googs1025 googs1025 requested a review from Monokaix May 27, 2024 10:48
@googs1025 googs1025 changed the title refactor vcli refactor vccctl May 27, 2024
@googs1025 googs1025 changed the title refactor vccctl refactor vcctl May 27, 2024
@googs1025 googs1025 requested a review from Monokaix May 29, 2024 12:53
@Monokaix
Copy link
Member

/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label May 30, 2024
@william-wang
Copy link
Member

/approve

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: william-wang

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

The pull request process is described here

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 31, 2024
@volcano-sh-bot volcano-sh-bot merged commit b0d7bb5 into volcano-sh:master May 31, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants