Merge pull request #182 from tonistiigi/raw-newline

imagetools: avoid printing newline on raw mode
pull/184/head
Tõnis Tiigi 5 years ago committed by GitHub
commit 6aba19193a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save