Commit 642d9ba
authored
fix: return the entire blob size in patch upload response (#3279)
regclient/regclient#961
opencontainers/distribution-spec#581
Previously, zot returned the size of the currently uploaded chunk.
Other registries the size of the entire blob.
Align with the latter behavior.
Signed-off-by: Ramkumar Chinchani <[email protected]>1 parent b2a5afc commit 642d9ba
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
947 | 949 | | |
948 | 950 | | |
949 | 951 | | |
| |||
952 | 954 | | |
953 | 955 | | |
954 | 956 | | |
955 | | - | |
| 957 | + | |
956 | 958 | | |
957 | 959 | | |
958 | 960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| |||
0 commit comments