diff --git a/distribution/xfer/download.go b/distribution/xfer/download.go index 1b49fc775b..2d0953191c 100644 --- a/distribution/xfer/download.go +++ b/distribution/xfer/download.go @@ -94,6 +94,11 @@ type DownloadDescriptor interface { // DownloadDescriptorWithRegistered is successful. type DownloadDescriptorWithRegistered interface { DownloadDescriptor + + // TODO existing implementations in distribution and builder-next swallow errors + // when registering the diffID. Consider changing the Registered signature + // to return the error. + Registered(diffID layer.DiffID) }