[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:
parent
5dcf4f52ad
commit
e6d4b20656
@ -2317,7 +2317,7 @@ service_id:
|
||||
UUID for the cleanup service.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
type: integer
|
||||
service_key:
|
||||
description: |
|
||||
The service name. Deprecated. Keeping service key
|
||||
|
@ -2,7 +2,7 @@
|
||||
"cluster": "test",
|
||||
"disabled": "True",
|
||||
"host": "host1@lvmdriver"
|
||||
"service_id": "1",
|
||||
"service_id": 1,
|
||||
"is_up": "True",
|
||||
"binary": "cinder-volume",
|
||||
"resource_id": "b122f668-d15a-40f8-af21-38d218796ab8",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"cleaning": [
|
||||
{
|
||||
"id" "1",
|
||||
"id": 1,
|
||||
"host": "host1@lvmdriver",
|
||||
"binary": "cinder-volume",
|
||||
"cluster_name": "test"
|
||||
|
Loading…
Reference in New Issue
Block a user