mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 12:28:01 +08:00
build(deps): bump all dependencies (#2532)
* build(deps): bump all dependencies Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> * build(deps): bump all dependencies Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de> * build(deps): bump all dependencies Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de> * build(deps): bump all dependencies Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> --------- Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/docker/distribution/registry/storage/driver"
|
||||
"github.com/distribution/distribution/v3/registry/storage/driver"
|
||||
)
|
||||
|
||||
type StorageDriverMock struct {
|
||||
@@ -152,7 +152,7 @@ func (f *FileWriterMock) Size() int64 {
|
||||
return int64(fileWriterSize)
|
||||
}
|
||||
|
||||
func (f *FileWriterMock) Cancel() error {
|
||||
func (f *FileWriterMock) Cancel(_ context.Context) error {
|
||||
if f != nil && f.CancelFn != nil {
|
||||
return f.CancelFn()
|
||||
}
|
||||
@@ -160,7 +160,7 @@ func (f *FileWriterMock) Cancel() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (f *FileWriterMock) Commit() error {
|
||||
func (f *FileWriterMock) Commit(_ context.Context) error {
|
||||
if f != nil && f.CommitFn != nil {
|
||||
return f.CommitFn()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user