Display the right floating ip on LB disassociation
The RemoveVIPFloatingIP.single method was deleting a floating IP and
then displayed a message about another floating IP.
Change-Id: Ic6078299ddb34550c002218aad28d05907827b01
Closes-bug: #1625639
(cherry picked from commit d99444b87b
)
This commit is contained in:
parent
6c6bccec44
commit
ef68173bd7
|
@ -364,7 +364,7 @@ class RemoveVIPFloatingIP(policy.PolicyTargetMixin, tables.Action):
|
|||
vip_fips[0].id)
|
||||
messages.success(request,
|
||||
_("Successfully disassociated "
|
||||
"floating IP: %s") % fip.ip)
|
||||
"floating IP: %s") % vip_fips[0].ip)
|
||||
except Exception:
|
||||
exceptions.handle(request,
|
||||
_("Unable to disassociate floating IP."))
|
||||
|
|
Loading…
Reference in New Issue