Skip to content

Return Container object in async Runc::state()#228

Merged
mxpv merged 1 commit intocontainerd:mainfrom
andrewbaxter:patch-1
Dec 25, 2023
Merged

Return Container object in async Runc::state()#228
mxpv merged 1 commit intocontainerd:mainfrom
andrewbaxter:patch-1

Conversation

@andrewbaxter
Copy link
Contributor

It's a very small change so I figured it's simpler to open a PR than an issue first.

The sync state method returns Container but for async returns Vec<usize>, and I couldn't locate an explanation for why these might be different so I assume it's a mistake. From a user perspective too I want Container rather than a usize vec.

It's a very small change so I figured it's simpler to open a PR than an issue first.

The sync `state` method returns `Container` but for async returns `Vec<usize>`, and I couldn't locate an explanation for why these might be different so I assume it's a mistake.  From a user perspective too I want Container rather than a usize vec.

Signed-off-by: Andrew Baxter <i@isandrew.com>
@mxpv mxpv changed the title Runc::state() returns wrong type with async feature Return Container object in async Runc::state() Dec 24, 2023
@mxpv mxpv added this pull request to the merge queue Dec 24, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 24, 2023
Copy link
Member

@Burning1020 Burning1020 left a comment

Choose a reason for hiding this comment

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

LGTM

@mxpv mxpv added this pull request to the merge queue Dec 25, 2023
Merged via the queue into containerd:main with commit 9ac1f26 Dec 25, 2023
@mxpv mxpv added the C-runc runc helper label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-runc runc helper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants