Merge "Add missing parameter in amphorav1 batch member update"

This commit is contained in:
Zuul 2022-09-12 20:49:36 +00:00 committed by Gerrit Code Review
commit 8caca9219f
2 changed files with 3 additions and 0 deletions

View File

@ -518,6 +518,7 @@ class ControllerWorker(base_taskflow.BaseTaskFlowEngine):
store = {
constants.LISTENERS: listeners,
constants.LOADBALANCER: load_balancer,
constants.LOADBALANCER_ID: load_balancer.id,
constants.POOL: pool}
if load_balancer.availability_zone:
store[constants.AVAILABILITY_ZONE] = (

View File

@ -852,6 +852,8 @@ class TestControllerWorker(base.TestCase):
constants.LISTENERS: [_listener_mock],
constants.LOADBALANCER:
_load_balancer_mock,
constants.LOADBALANCER_ID:
_load_balancer_mock.id,
constants.POOL: _pool_mock,
constants.AVAILABILITY_ZONE: {}}))