Skip to content

Conversation

@jedevc
Copy link
Collaborator

@jedevc jedevc commented Oct 31, 2022

🛠️ fixes moby/buildkit#3242

The error handling for the cast to client.TracerDelegate was incorrect, and previously, a client would unconditionally append an opt.

This results in the scenario that while the ClientOpt was not nil, the tracer delegate in the ClientOpt was, which isn't an error case explicitly handled by buildkit.

We might want to follow up in buildkit here and add an explicit nil check for withTracerDelegate.TracerDelegate == nil as a sanity check.

The error handling for the cast to client.TracerDelegate was incorrect,
and previously, a client would unconditionally append an opt.

This results in the scenario that while the ClientOpt was not nil, the
tracer delegate in the ClientOpt was, which isn't an error case
explicitly handled by buildkit.

Signed-off-by: Justin Chadwell <[email protected]>
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.

Buildkit failing after MacOS ventura update

3 participants