projectatomic / docker

Docker - the open-source application container engine
http://www.docker.com
Apache License 2.0
81 stars 58 forks source link

pull: don't continue when exceeding max size #371

Closed vrothberg closed 4 years ago

vrothberg commented 4 years ago

When hitting an error that we exceeded the maximum allowed size, do not continue to the next pull endpoint and let the error bubble up the stack to the client. This way, we correctly report the error and do not hide it in the logs.

Signed-off-by: Valentin Rothberg rothberg@redhat.com

vrothberg commented 4 years ago

@rhatdan PTAL

rhatdan commented 4 years ago

LGTM