Skip to content

use wrapper function instead of variable for freebsd - #3

Merged
thaJeztah merged 1 commit into
moby:mainfrom
thaJeztah:wrap_no_alias
Apr 14, 2025
Merged

use wrapper function instead of variable for freebsd#3
thaJeztah merged 1 commit into
moby:mainfrom
thaJeztah:wrap_no_alias

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

This variable made me look various times to find if it was (e.g.) needed to stub out the function in (unit)tests, but it looks like it was only there for convenience (not having to define a function).

Let's change it to a regular function that wraps the underlying implementation to prevent this confusion.

This variable made me look various times to find if it was (e.g.)
needed to stub out the function in (unit)tests, but it looks like
it was only there for convenience (not having to define a function).

Let's change it to a regular function that wraps the underlying
implementation to prevent this confusion.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah merged commit a36cd06 into moby:main Apr 14, 2025
@thaJeztah
thaJeztah deleted the wrap_no_alias branch April 14, 2025 13:26
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.

2 participants