build: avoid empty line when -q used with --call
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
+1
-1
@@ -411,7 +411,7 @@ func runBuild(ctx context.Context, dockerCli command.Cli, debugOpts debuggerOpti
|
||||
case progressui.RawJSONMode:
|
||||
// no additional display
|
||||
case progressui.QuietMode:
|
||||
if options.quiet {
|
||||
if options.quiet && opts.CallFunc == nil {
|
||||
fmt.Println(getImageID(resp.ExporterResponse))
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user