mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07: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>