mirror of https://github.com/docker/buildx.git
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 {
|
||||
fmt.Printf("%s\n", dt)
|
||||
fmt.Printf("%s", dt) // avoid newline to keep digest
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue