Fix multiple image_id query mappings

The loadbalancer v2 proxy has the image_id query
mapping written out twice, instead that should be
compute_flavor [1].

[1] https://docs.openstack.org/api-ref/load-balancer/v2/#list-amphora

Change-Id: I886bdc222904d6e42d8ccad254ed5ae58238d089
This commit is contained in:
Tobias Urdin 2024-03-04 15:44:48 +01:00 committed by Stephen Finucane
parent 7131781adb
commit 1610e2da76
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Amphora(resource.Resource):
'created_at',
'updated_at',
'image_id',
'image_id',
'compute_flavor',
)
# Properties

View File

@ -97,6 +97,7 @@ class TestAmphora(base.TestCase):
'marker': 'marker',
'id': 'id',
'loadbalancer_id': 'loadbalancer_id',
'compute_flavor': 'compute_flavor',
'compute_id': 'compute_id',
'lb_network_ip': 'lb_network_ip',
'vrrp_ip': 'vrrp_ip',