mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +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>