Merge pull request #16628 from caesarxuchao/change-error-type

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-30 17:21:52 -08:00
4 changed files with 20 additions and 1 deletions

View File

@@ -558,6 +558,10 @@ The following HTTP status codes may be returned by the API.
* * If updating an existing resource:
* See `Conflict` from the `status` response section below on how to retrieve more information about the nature of the conflict.
* GET and compare the fields in the pre-existing object, merge changes (if still valid according to preconditions), and retry with the updated request (including `ResourceVersion`).
* `410 StatusGone`
* Indicates that the item is no longer available at the server and no forwarding address is known.
* Suggested client recovery behavior
* Do not retry. Fix the request.
* `422 StatusUnprocessableEntity`
* Indicates that the requested create or update operation cannot be completed due to invalid data provided as part of the request.
* Suggested client recovery behavior