mirror of
https://github.com/rancher/os.git
synced 2025-09-04 08:14:21 +00:00
migrate to upstream libcompose in one and a half go
This commit is contained in:
3
vendor/github.com/docker/distribution/registry/storage/purgeuploads.go
generated
vendored
3
vendor/github.com/docker/distribution/registry/storage/purgeuploads.go
generated
vendored
@@ -62,10 +62,11 @@ func getOutstandingUploads(ctx context.Context, driver storageDriver.StorageDriv
|
||||
uploads := make(map[string]uploadData, 0)
|
||||
|
||||
inUploadDir := false
|
||||
root, err := defaultPathMapper.path(repositoriesRootPathSpec{})
|
||||
root, err := pathFor(repositoriesRootPathSpec{})
|
||||
if err != nil {
|
||||
return uploads, append(errors, err)
|
||||
}
|
||||
|
||||
err = Walk(ctx, driver, root, func(fileInfo storageDriver.FileInfo) error {
|
||||
filePath := fileInfo.Path()
|
||||
_, file := path.Split(filePath)
|
||||
|
Reference in New Issue
Block a user