25f8980e22
If a call to update loadbalancer status cannot find the
specified listener, the API server will throw an exception:
"Error while updating the load balancer status: 'NoneType'
object has no attribute 'update'"
Change ListenerRepository.update() to check the DB query
returned a record, and if not, raise a NotFound exception
back to the caller.
Change-Id: I6693be3e2d2f0e34f19f07f55b0429f8fda317b2
Task: 41108
Story: 2008254
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_models.py | ||
test_repositories.py |