Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: loadInputs: extract resolving digest to a separate function #2478

Merged
merged 1 commit into from
May 29, 2024

Conversation

thaJeztah
Copy link
Member

build: loadInputs: extract resolving digest to a separate function

This makes the code slightly more idiomatic, but the errors produced will
change slightly to prevent having to path NamedContext as argument.

@thaJeztah thaJeztah self-assigned this May 26, 2024
@thaJeztah thaJeztah marked this pull request as ready for review May 27, 2024 17:20
This makes the code slightly more idiomatic, but the errors produced will
change slightly to prevent having to path NamedContext as argument.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

This is the follow-up to #2477. Let me know if this makes sense to do (I think it's somewhat more readable / idiomatic than the existing code), but happy to make changes 😄

Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@thompson-shaun thompson-shaun added this to the v0.15.0 milestone May 28, 2024
@tonistiigi tonistiigi requested a review from jedevc May 28, 2024 20:52
@jedevc jedevc merged commit 9ad116a into docker:master May 29, 2024
102 checks passed
@thaJeztah thaJeztah deleted the extract_resolve_digest branch May 29, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants