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
This commit is contained in:
Guillaume Espanel 2016-09-20 15:58:11 +02:00 committed by Rob Cresswell
parent 877344de0d
commit d99444b87b
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,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."))