commit 2ac0ee0b28c9c408aeb501d311c880afe59c4fb5
Author: Brian Haley <email address hidden>
Date: Wed Feb 20 23:09:05 2019 -0500
Fix pylint E1128 (assignment-from-no-return) in l3-agent
Changed migrate_centralized_floating_ip() to return a
status in DvrLocalRouter class. Also changed the parent
method in RouterInfo class to return FLOATINGIP_STATUS_NOCHANGE,
which will cause the agent to not send an updated status for
the floating IP.
Also changed floating_ip_added_dist() to not use an
intermediate variable and just return directly.
Reviewed: https:/ /review. openstack. org/638331 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2ac0ee0b28c 9c408aeb501d311 c880afe59c4fb5
Committed: https:/
Submitter: Zuul
Branch: master
commit 2ac0ee0b28c9c40 8aeb501d311c880 afe59c4fb5
Author: Brian Haley <email address hidden>
Date: Wed Feb 20 23:09:05 2019 -0500
Fix pylint E1128 (assignment- from-no- return) in l3-agent
Changed migrate_ centralized_ floating_ ip() to return a STATUS_ NOCHANGE,
status in DvrLocalRouter class. Also changed the parent
method in RouterInfo class to return FLOATINGIP_
which will cause the agent to not send an updated status for
the floating IP.
Also changed floating_ ip_added_ dist() to not use an
intermediate variable and just return directly.
Change-Id: I7dc4934308da95 cf00a36b4ef1020 aac7cef7d99
Closes-bug: #1816874