mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-20 02:17:44 +08:00
Merge pull request #182 from tonistiigi/raw-newline
imagetools: avoid printing newline on raw mode
This commit is contained in:
commit
6aba19193a
@ -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