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] Refactor the kill command flagging process #1836

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

Laitr0n
Copy link
Contributor

@Laitr0n Laitr0n commented Jan 12, 2023

Part of #1680

  • Create a file in pkg/api/types/${cmd}_types.go, and define the CommandOption for this command
  • Create some file in pkg/cmd/${cmd}, and move the command entry point in real into this package

Signed-off-by: Laitron meetlq@outlook.com

@Laitr0n Laitr0n changed the title [Refactor] Refactor the kill command flagging process. [Refactor] Refactor the kill command flagging process Jan 12, 2023
@Laitr0n Laitr0n marked this pull request as ready for review January 12, 2023 23:59
pkg/cmd/kill/kill.go Outdated Show resolved Hide resolved
@Laitr0n
Copy link
Contributor Author

Laitr0n commented Jan 15, 2023

@AkihiroSuda @djdongjin PTAL
It is possible that running a restart again may resolve my failed check actions.

pkg/cmd/container/kill.go Outdated Show resolved Hide resolved
pkg/cmd/container/kill.go Outdated Show resolved Hide resolved
pkg/cmd/container/kill.go Outdated Show resolved Hide resolved
Signed-off-by: Laitron <meetlq@outlook.com>
Copy link
Member

@djdongjin djdongjin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 0b051a5 into containerd:main Jan 16, 2023
@Laitr0n Laitr0n deleted the refactor_kill branch January 16, 2023 16:06
@AkihiroSuda AkihiroSuda added this to the v1.2.0 milestone Jan 17, 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

3 participants