Commit 64bd2a9
committed
fix: return the entire blob size in patch upload response
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 <rchincha.dev@gmail.com>1 parent b2a5afc commit 64bd2a9
1 file changed
+4
-2
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 | | |
| |||
0 commit comments