Skip to content

Fix panic with cached debug image#40

Merged
ktock merged 1 commit intomainfrom
fixdebugimagepanic
Jun 28, 2022
Merged

Fix panic with cached debug image#40
ktock merged 1 commit intomainfrom
fixdebugimagepanic

Conversation

@ktock
Copy link
Copy Markdown
Owner

@ktock ktock commented Jun 28, 2022

Fixes the following panic. This occurs when a debug uses a cached debug image.

$ buildg.sh debug --cache-reuse --image=ubuntu:20.04 /tmp/ctx
...(omit)...
(buildg) exec --image sh
panic: interface conversion: *ops.sourceOp is not interface { LoadCacheHook(context.Context, []solver.Result, []solver.Result) }: missing method LoadCacheHook

@ktock ktock merged commit c290825 into main Jun 28, 2022
@ktock ktock deleted the fixdebugimagepanic branch June 28, 2022 01:06
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.

1 participant