feat: proxy download image
This commit is contained in:
@ -96,6 +96,12 @@ func (l *localUploader) Done(ctx context.Context, bh interfaces.BlobHandler, id
|
||||
}
|
||||
defer vrc.Close()
|
||||
|
||||
logrus.
|
||||
WithField("path", "localUploader.Done").
|
||||
WithField("id", id).
|
||||
WithField("size", size).
|
||||
Error()
|
||||
|
||||
if err := bh.Put(ctx, repo, hash, vrc); err != nil {
|
||||
if errors.As(err, &verify.Error{}) {
|
||||
logrus.
|
||||
|
Reference in New Issue
Block a user