浏览代码

builder-next: Set moby exporter as default

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Paweł Gronowski 2 年之前
父节点
当前提交
d63569c73d
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      builder/builder-next/builder.go

+ 1 - 5
builder/builder-next/builder.go

@@ -355,11 +355,7 @@ func (b *Builder) Build(ctx context.Context, opt backend.BuildConfig) (*builder.
 	exporterName := ""
 	exporterName := ""
 	exporterAttrs := map[string]string{}
 	exporterAttrs := map[string]string{}
 	if len(opt.Options.Outputs) == 0 {
 	if len(opt.Options.Outputs) == 0 {
-		if b.useSnapshotter {
-			exporterName = client.ExporterImage
-		} else {
-			exporterName = exporter.Moby
-		}
+		exporterName = exporter.Moby
 	} else {
 	} else {
 		// cacheonly is a special type for triggering skipping all exporters
 		// cacheonly is a special type for triggering skipping all exporters
 		if opt.Options.Outputs[0].Type != "cacheonly" {
 		if opt.Options.Outputs[0].Type != "cacheonly" {