Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@huyongqii
Copy link
Collaborator

@huyongqii huyongqii commented Dec 1, 2024

  • Add a remote call for task completion for plugins running on craned.

@huyongqii huyongqii force-pushed the dev/hyq branch 2 times, most recently from db7f0ad to 49e2fa8 Compare December 3, 2024 07:56
@RileyWen
Copy link
Collaborator

RileyWen commented Dec 3, 2024

其他我目前没啥问题

@RileyWen RileyWen self-assigned this Dec 3, 2024
using crane::grpc::plugin::CreateCgroupHookReply;
using crane::grpc::plugin::CreateCgroupHookRequest;

auto request = dynamic_cast<CreateCgroupHookRequest*>(msg);
Copy link
Collaborator

Choose a reason for hiding this comment

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

类型改成auto *,然后dynamic_cast 有可能为空指针,加个CRANE_ASSERT(request != nullptr);这样的语句

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

好的,已完善

@Nativu5
Copy link
Collaborator

Nativu5 commented Dec 6, 2024

LGTM. 可以准备合并了。

@Nativu5 Nativu5 requested a review from L-Xiafeng December 6, 2024 06:23
@huyongqii huyongqii merged commit 5be1b79 into master Dec 6, 2024
1 check passed
@huyongqii huyongqii deleted the dev/hyq branch December 6, 2024 06:29
huerni pushed a commit that referenced this pull request Jan 7, 2025
…378)

* Add a remote call for task completion for plugins running on craned

* update CreateCgroupHookRequest proto struct
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.

5 participants