[Api-ref] fix the type of service_id in worker cleanup api

According to [1], the type of service_id is int, so fix it.

[1]https://review.openstack.org/#/c/569036/

Change-Id: Ie142582a2a73564127be83c1e3531a07311b4153
This commit is contained in:
liuyamin 2018-05-29 14:06:48 +08:00
parent 5dcf4f52ad
commit e6d4b20656
3 changed files with 3 additions and 3 deletions

View File

@ -2317,7 +2317,7 @@ service_id:
UUID for the cleanup service. UUID for the cleanup service.
in: body in: body
required: false required: false
type: string type: integer
service_key: service_key:
description: | description: |
The service name. Deprecated. Keeping service key The service name. Deprecated. Keeping service key

View File

@ -2,7 +2,7 @@
"cluster": "test", "cluster": "test",
"disabled": "True", "disabled": "True",
"host": "host1@lvmdriver" "host": "host1@lvmdriver"
"service_id": "1", "service_id": 1,
"is_up": "True", "is_up": "True",
"binary": "cinder-volume", "binary": "cinder-volume",
"resource_id": "b122f668-d15a-40f8-af21-38d218796ab8", "resource_id": "b122f668-d15a-40f8-af21-38d218796ab8",

View File

@ -1,7 +1,7 @@
{ {
"cleaning": [ "cleaning": [
{ {
"id" "1", "id": 1,
"host": "host1@lvmdriver", "host": "host1@lvmdriver",
"binary": "cinder-volume", "binary": "cinder-volume",
"cluster_name": "test" "cluster_name": "test"