From f7594d484b27a403c3781df78e6ce516ade0841e Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Thu, 16 Jan 2025 21:10:00 -0800 Subject: [PATCH] history: fix printing desktop URL Signed-off-by: Tonis Tiigi --- commands/history/inspect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/history/inspect.go b/commands/history/inspect.go index b1a97d8c..350ee8ad 100644 --- a/commands/history/inspect.go +++ b/commands/history/inspect.go @@ -360,7 +360,7 @@ func runInspect(ctx context.Context, dockerCli command.Cli, opts inspectOptions) fmt.Fprintf(dockerCli.Out(), "Print build logs: docker buildx history logs %s\n", rec.Ref) - fmt.Fprintf(dockerCli.Out(), "View build in Docker Desktop: %s\n", desktop.BuildURL(rec.Ref)) + fmt.Fprintf(dockerCli.Out(), "View build in Docker Desktop: %s\n", desktop.BuildURL(fmt.Sprintf("%s/%s/%s", rec.node.Builder, rec.node.Name, rec.Ref))) return nil }