Update the API reference for the update container

After this patch [0] we can update the container information
to rename also using [1], But API reference is still belongs
to the old rename container API[2] which should be updated.

[0] https://review.openstack.org/#/c/557595/
[1] https://developer.openstack.org/api-ref/application-container/#update-information-of-container
[2] https://developer.openstack.org/api-ref/application-container/#rename-a-container

Change-Id: I311e27241a380f24532bccc748b40b8594847833
Closes-Bug: #1762300
This commit is contained in:
deepak_mourya 2018-04-10 10:42:42 +05:30
parent c24d3fd068
commit 7245988c32
3 changed files with 5 additions and 3 deletions

View File

@ -350,7 +350,7 @@ Update information of container
.. rest_method:: PATCH /v1/containers/{container_ident}
Update information of one container attributes. Currently only `cpu` and
Update information of one container attributes. Currently only `cpu`, name and
`memory` can be updated.
Response Codes
@ -375,6 +375,7 @@ Request
- container_ident: container_ident
- memory: memory
- cpu: cpu
- name: name
Request Example
----------------

View File

@ -1,4 +1,5 @@
{
"memory": "200",
"cpu": "3"
"cpu": "3",
"name": "test_new"
}

View File

@ -40,7 +40,7 @@
"image_driver": "docker",
"task_state": null,
"status_reason": null,
"name": "test",
"name": "test_new",
"restart_policy": {
"MaximumRetryCount": "0",
"Name": "no"