mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-21 11:17:44 +08:00
imagetools: avoid printing newline on raw mode
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
714f181d81
commit
eb1aabe9e3
@ -30,7 +30,7 @@ func runInspect(dockerCli command.Cli, in inspectOptions, name string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if in.raw {
|
if in.raw {
|
||||||
fmt.Printf("%s\n", dt)
|
fmt.Printf("%s", dt) // avoid newline to keep digest
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user