Skip to content

libnetwork: use gotest.tools for errdefs assertions in various tests#49332

Merged
thaJeztah merged 19 commits intomoby:masterfrom
thaJeztah:libnetwork_use_errdefs_step3
Jan 27, 2025
Merged

libnetwork: use gotest.tools for errdefs assertions in various tests#49332
thaJeztah merged 19 commits intomoby:masterfrom
thaJeztah:libnetwork_use_errdefs_step3

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah added status/2-code-review area/networking Networking area/testing kind/refactor PR's that refactor, or clean-up code labels Jan 23, 2025
@thaJeztah thaJeztah self-assigned this Jan 23, 2025
@thaJeztah

This comment was marked as resolved.

…r errdefs assertions

Signed-off-by: Sebastiaan van Stijn <[email protected]>
…or errdefs assertions

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only returned in 2 places, and not used any different than
a "notfound" error, so let's use a standard errdefs.NotFound

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the libnetwork_use_errdefs_step3 branch from eada31a to 5c1fe28 Compare January 26, 2025 20:35
@thaJeztah thaJeztah requested a review from robmry January 27, 2025 08:27
@thaJeztah thaJeztah added this to the 28.0.0 milestone Jan 27, 2025
Copy link
Copy Markdown
Contributor

@robmry robmry left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit 56547a3 into moby:master Jan 27, 2025
@thaJeztah thaJeztah deleted the libnetwork_use_errdefs_step3 branch January 27, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants