diff --git a/builder/builder-next/exporter/wrapper.go b/builder/builder-next/exporter/wrapper.go index 1676466ab9..d954b3a698 100644 --- a/builder/builder-next/exporter/wrapper.go +++ b/builder/builder-next/exporter/wrapper.go @@ -11,7 +11,7 @@ import ( ocispec "github.com/opencontainers/image-spec/specs-go/v1" ) -type ImageExportedByBuildkit = func(ctx context.Context, id string, desc ocispec.Descriptor) error +type ImageExportedByBuildkit = func(ctx context.Context, id string, desc ocispec.Descriptor) // Wraps the containerimage exporter's Resolve method to apply moby-specific // overrides to the exporter attributes. diff --git a/daemon/build.go b/daemon/build.go index e4b5737ca0..613342efbb 100644 --- a/daemon/build.go +++ b/daemon/build.go @@ -10,7 +10,6 @@ import ( // This is used to log the image creation event for untagged images. // When no tag is given, buildkit doesn't call the image service so it has no // way of knowing the image was created. -func (daemon *Daemon) ImageExportedByBuildkit(ctx context.Context, id string, desc ocispec.Descriptor) error { +func (daemon *Daemon) ImageExportedByBuildkit(ctx context.Context, id string, desc ocispec.Descriptor) { daemon.imageService.LogImageEvent(id, id, "create") - return nil }