mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
We were calling Stat for each layer to get the size so we could indicate progress, but https://github.com/docker/distribution/pull/1226 made it possible to get the length from the GET request that Open initiates. Saving one round-trip per layer should make pull operations slightly faster and more robust. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: 39589800b4750bf28078efe57f7f1e74d971248f Component: engine