Browse code

Retry on registry client connect on tag unset

Catches following error:

tag "latest" has not been set on repository "library/rhel"

Michal Minář authored on 2016/08/30 16:04:17
Showing 1 changed files
... ...
@@ -39,9 +39,11 @@ var (
39 39
 
40 40
 	// imageNotFoundErrorPatterns will match following error examples:
41 41
 	//   the image "..." in repository "..." was not found and may have been deleted
42
+	//   tag "..." has not been set on repository "..."
42 43
 	// use only with non-internal registry
43 44
 	imageNotFoundErrorPatterns = []string{
44 45
 		"was not found and may have been deleted",
46
+		"has not been set on repository",
45 47
 	}
46 48
 )
47 49