Skip to content

libnetwork: resolvconf: remove dependency on errdefs#48370

Merged
thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah:resolvconf_clean
Aug 26, 2024
Merged

libnetwork: resolvconf: remove dependency on errdefs#48370
thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah:resolvconf_clean

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

libnetwork: resolvconf: remove var that shadowed import

It was only used in a single place, so we can remove the
intermediate variable.

libnetwork: resolvconf: remove dependency on errdefs

the resolvconf package is imported in BuildKit, and this is the only
location that used the errdefs package outside of the client.

It was only used in a single place, so we can remove the
intermediate variable.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
the resolvconf package is imported in BuildKit, and this is the only
location that used the errdefs package outside of the client.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review area/networking Networking kind/refactor PR's that refactor, or clean-up code labels Aug 23, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Aug 23, 2024
@thaJeztah thaJeztah self-assigned this Aug 23, 2024
Copy link
Copy Markdown
Contributor

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

Changes LGTM.

@thaJeztah thaJeztah merged commit d9fa66d into moby:master Aug 26, 2024
@thaJeztah thaJeztah deleted the resolvconf_clean branch August 26, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking Networking 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.

3 participants