Manifest PUT should return 201 Created
Change handler, update descriptors table, regenerate API spec, and update test. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
50de6d914c
commit
24408263d9
3 changed files with 4 additions and 4 deletions
|
@ -523,7 +523,7 @@ var routeDescriptors = []RouteDescriptor{
|
|||
Successes: []ResponseDescriptor{
|
||||
{
|
||||
Description: "The manifest has been accepted by the registry and is stored under the specified `name` and `tag`.",
|
||||
StatusCode: http.StatusAccepted,
|
||||
StatusCode: http.StatusCreated,
|
||||
Headers: []ParameterDescriptor{
|
||||
{
|
||||
Name: "Location",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue