Skip to content

daemon: isPermissibleC8dRuntimeName: use local utility to reduce c8d deps#48251

Merged
vvoland merged 1 commit intomoby:masterfrom
thaJeztah:daemon_reduce_c8d_imports
Jul 29, 2024
Merged

daemon: isPermissibleC8dRuntimeName: use local utility to reduce c8d deps#48251
vvoland merged 1 commit intomoby:masterfrom
thaJeztah:daemon_reduce_c8d_imports

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

The shim.BinaryName() function used from containerd is part of the "github.com/containerd/containerd/runtime/v2/shim" packaqge, which comes with a large number of dependencies.

This patch implements a local variant of the check so that we can remove the dependency.

…deps

The `shim.BinaryName()` function used from containerd is part of the
"github.com/containerd/containerd/runtime/v2/shim" packaqge, which comes
with a large number of dependencies.

This patch implements a local variant of the check so that we can remove
the dependency.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code containerd-integration Issues and PRs related to containerd integration labels Jul 26, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Jul 26, 2024
@thaJeztah thaJeztah self-assigned this Jul 26, 2024
@thaJeztah thaJeztah requested a review from dmcgowan July 26, 2024 22:14
@thaJeztah thaJeztah added area/runtime Runtime and removed containerd-integration Issues and PRs related to containerd integration labels Jul 26, 2024
Copy link
Copy Markdown
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

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

LGTM

@vvoland vvoland merged commit 92e10e8 into moby:master Jul 29, 2024
@thaJeztah thaJeztah deleted the daemon_reduce_c8d_imports branch July 29, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/runtime Runtime kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

Development

Successfully merging this pull request may close these issues.

4 participants