From da49cde1bdf5339637d0e6985e814bab629e6267 Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Wed, 26 Sep 2018 08:49:01 -0500 Subject: [PATCH] Fix member_of doc in RequestGroup.dict_from_request It was noticed in a previous patch [1] that the example in the RequestGroup.dict_from_request docstring had an incorrect member_of translation between the querystring and the result object. This was probably missed while [2] and [3] were in flight at the same time. [1] https://review.openstack.org/#/c/602495/3/placement/lib.py@126 [2] https://review.openstack.org/#/c/517757/ [3] https://review.openstack.org/#/c/547990/ Change-Id: I6cc311a8d7a3fefe259631916c32ff7f9a41974c --- placement/lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/placement/lib.py b/placement/lib.py index 92d1c628a..eaacbbd74 100644 --- a/placement/lib.py +++ b/placement/lib.py @@ -101,7 +101,8 @@ class RequestGroup(object): ?resources=VCPU:2,MEMORY_MB:1024,DISK_GB=50 &required=HW_CPU_X86_VMX,CUSTOM_STORAGE_RAID - &member_of=in:9323b2b1-82c9-4e91-bdff-e95e808ef954,8592a199-7d73-4465-8df6-ab00a6243c82 # noqa + &member_of=9323b2b1-82c9-4e91-bdff-e95e808ef954 + &member_of=in:8592a199-7d73-4465-8df6-ab00a6243c82,ddbd9226-d6a6-475e-a85f-0609914dd058 # noqa &resources1=SRIOV_NET_VF:2 &required1=CUSTOM_PHYSNET_PUBLIC,CUSTOM_SWITCH_A &resources2=SRIOV_NET_VF:1