Files
containerd/remotes/docker
Aaron Lehmann 4c1fa57194 remotes/docker: Only return "already exists" on push when the upload was successful
The `(dockerPusher).Push` method uses a `StatusTracker` to check if an
upload already happened, before repeating the upload. However, there is
no provision for failure handling. If a PUT request returns an error,
the `StatusTracker` will still see the upload as if it happened
successfully. Add a status boolean so that only successful uploads
short-circuit `Push`.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
2021-04-06 19:45:24 -07:00
..
2020-09-03 14:52:11 +01:00
2019-10-07 13:38:12 -04:00
2019-06-13 09:51:46 +08:00
2021-01-13 05:46:50 +11:00