Repository navigation
spec: add missing TOOMANYREQUESTS (429) error-code - #209
Merged
Merged
Conversation
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]>
Member
Author
thaJeztah
commented
Oct 30, 2020
| | code-14 | `DENIED` | requested access to the resource is denied | | ||
| | code-15 | `UNSUPPORTED` | the operation is unsupported | | ||
| | code-15 | `UNSUPPORTED` | the operation is unsupported | | ||
| | code-16 | `TOOMANYREQUESTS` | too many requests | |
Member
Author
There was a problem hiding this comment.
I just picked the "next in line", not sure if these numbers are used anywhere
Contributor
There was a problem hiding this comment.
they arent referenced anywhere yet
Member
Author
There was a problem hiding this comment.
thanks for checking! I looked a bit as well, and couldn't find references, but thought I'd comment, just in case I missed them somewhere 😅
jdolitsky
approved these changes
Nov 2, 2020
Merged
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.
The
TOOMANYREQUESTSerror 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