moby--moby/distribution
Aaron Lehmann 4f13ec5551 Don't retry downloads when disk is full
There was already a check that prevented protocol-level fallback in this
situation, but retries within a specific protocol will still happen.
This makes it take a long time for the pull to finally error out.

This fixes slowness in TestDaemonNoSpaceleftOnDeviceError, which used to
take a long time due to the backoff between retry attempts:

PASS: docker_cli_daemon_test.go:1868: DockerDaemonSuite.TestDaemonNoSpaceleftOnDeviceError	5.882s

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-21 10:01:51 -08:00
..
fixtures/validate_manifest
metadata
xfer
pull.go
pull_v1.go
pull_v2.go
pull_v2_test.go
pull_v2_unix.go
pull_v2_windows.go
push.go
push_v1.go
push_v2.go
registry.go Don't retry downloads when disk is full 2016-01-21 10:01:51 -08:00
registry_unit_test.go