File tree Expand file tree Collapse file tree
builder/builder-next/exporter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
1212)
1313
14- type ImageExportedByBuildkit = func (ctx context.Context , id string , desc ocispec.Descriptor ) error
14+ type ImageExportedByBuildkit = func (ctx context.Context , id string , desc ocispec.Descriptor )
1515
1616// Wraps the containerimage exporter's Resolve method to apply moby-specific
1717// overrides to the exporter attributes.
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import (
1010// This is used to log the image creation event for untagged images.
1111// When no tag is given, buildkit doesn't call the image service so it has no
1212// way of knowing the image was created.
13- func (daemon * Daemon ) ImageExportedByBuildkit (ctx context.Context , id string , desc ocispec.Descriptor ) error {
13+ func (daemon * Daemon ) ImageExportedByBuildkit (ctx context.Context , id string , desc ocispec.Descriptor ) {
1414 daemon .imageService .LogImageEvent (id , id , "create" )
15- return nil
1615}
You can’t perform that action at this time.
0 commit comments