moby/distribution
Aaron Lehmann 72274de26e Don't retry push on an unknown repository
If the remote registry responds with a NAME_UNKNOWN error, treat this as
a fatal error and don't retry the push.

Tested against an ECR registry.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit a12ab28e0a)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-12 15:50:36 -07:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Safer file io for configuration files 2016-04-21 11:31:15 -07:00
xfer Use describable interfaces 2016-06-06 17:49:34 -07:00
errors.go Don't retry push on an unknown repository 2016-07-12 15:50:36 -07:00
pull.go Always store the image digest when pulling and pushing an image. 2016-07-08 15:32:14 -07:00
pull_v1.go Fix logrus formatting 2016-06-11 13:16:55 -07:00
pull_v2.go Always store the image digest when pulling and pushing an image. 2016-07-08 15:32:14 -07:00
pull_v2_test.go Windows CI Unit Test: Distribution turn off failing tests 2016-02-28 20:02:51 -08:00
pull_v2_unix.go Support layers from external URLs 2016-05-25 19:23:02 -07:00
pull_v2_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
push.go Cleanup 2016-06-06 15:57:51 -07:00
push_v1.go Pass upstream client's user agent through to registry on operations beyond pulls 2016-03-21 14:31:47 -07:00
push_v2.go Always store the image digest when pulling and pushing an image. 2016-07-08 15:32:14 -07:00
registry.go fix typos 2016-06-02 17:17:22 +08:00
registry_unit_test.go Change APIEndpoint to contain the URL in a parsed format 2016-02-17 17:48:15 -08:00