Commit dc4f925
fix: check blob exist before copying layers samller than chunk size (goharbor#21883)
`copyBlobByChunk()` should like `copyBlob()`, first try to mount an
exists layer, if not mounted or exist, then copy the layer monolithic
or by chunks.
Signed-off-by: Bin Liu <[email protected]>
Signed-off-by: Bin Liu <[email protected]>1 parent 56bda80 commit dc4f925
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | 406 | | |
412 | 407 | | |
413 | 408 | | |
| |||
417 | 412 | | |
418 | 413 | | |
419 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
0 commit comments