Skip to content

Conversation

@jedevc
Copy link
Member

@jedevc jedevc commented Apr 18, 2023

⬆️ Follow-up to #3462.

This fixes the panic that we can trigger in docker/buildx#1640 (comment).

This scenario would happen if we returned a result containing no refs, but the solve opt specified we should have some platforms, we'd still attempt to access them, and panic.

This is probably a candidate for cherry-picking.

cc @ktock

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc force-pushed the ref-may-be-empty branch from d4090c6 to 7ca2cd9 Compare April 18, 2023 13:32
@tonistiigi tonistiigi merged commit 1077362 into moby:master Apr 18, 2023
@jedevc jedevc deleted the ref-may-be-empty branch April 18, 2023 17:51
@thaJeztah
Copy link
Member

this was cherry-picked in #3810

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.

3 participants