Skip to content

Commit f7594d4

Browse files
committed
history: fix printing desktop URL
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
1 parent f118749 commit f7594d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commands/history/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ func runInspect(ctx context.Context, dockerCli command.Cli, opts inspectOptions)
360360

361361
fmt.Fprintf(dockerCli.Out(), "Print build logs: docker buildx history logs %s\n", rec.Ref)
362362

363-
fmt.Fprintf(dockerCli.Out(), "View build in Docker Desktop: %s\n", desktop.BuildURL(rec.Ref))
363+
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)))
364364

365365
return nil
366366
}

0 commit comments

Comments
 (0)