Repository navigation
registry: type too many requests error - #1693
Merged
Merged
Conversation
| // times to contact a service endpoint. | ||
| ErrorCodeTooManyRequests = Register("errcode", ErrorDescriptor{ | ||
| Value: "TOOMANYREQUESTS", | ||
| Message: "too many requests error", |
There was a problem hiding this comment.
I think this should just be "too many requests".
Signed-off-by: Antonio Murdaca <[email protected]>
Current coverage is 54.74%
@@ master #1693 diff @@
==========================================
Files 120 120
Lines 10489 10493 +4
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 6465 5744 -721
- Misses 3424 4241 +817
+ Partials 600 508 -92
|
|
LGTM |
1 similar comment
|
LGTM |
Contributor
Author
|
@aaronlehmann is it ok to vendor distribution code now? I'm taking care of it |
|
@runcom: Absolutely! |
thaJeztah
added a commit
to thaJeztah/distribution-spec
that referenced
this pull request
Oct 30, 2020
The `TOOMANYREQUESTS` error code was added in distribution/distribution#1693, and added to the documentation in distribution/distribution#1833. While it's documented in various examples, it never made it to the list of allowed error-codes. This patch is fixing that omission and adding it to the list of valid error-codes that can be returned by registries Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah
added a commit
to thaJeztah/distribution-spec
that referenced
this pull request
Oct 30, 2020
The `TOOMANYREQUESTS` error code was added in distribution/distribution#1693, and added to the documentation in distribution/distribution#1833. While it's documented in various examples, it never made it to the list of allowed error-codes. This patch is fixing that omission and adding it to the list of valid error-codes that can be returned by registries Signed-off-by: Sebastiaan van Stijn <[email protected]>
jdolitsky
pushed a commit
to opencontainers/distribution-spec
that referenced
this pull request
Nov 3, 2020
The `TOOMANYREQUESTS` error code was added in distribution/distribution#1693, and added to the documentation in distribution/distribution#1833. While it's documented in various examples, it never made it to the list of allowed error-codes. This patch is fixing that omission and adding it to the list of valid error-codes that can be returned by registries Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah
pushed a commit
to thaJeztah/distribution
that referenced
this pull request
Apr 22, 2021
registry: type too many requests error
thaJeztah
pushed a commit
to thaJeztah/distribution
that referenced
this pull request
Jan 19, 2022
registry: type too many requests error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ping @aaronlehmann
This patch adds an error type to be later checked also in docker/docker if the registry
is replying with 429.
Signed-off-by: Antonio Murdaca [email protected]