Changed alert message to show actual IP instead of obj_id

for 'Disassociate IP' action.

Fixes bug 944478.

Change-Id: I5a5fbd649ce1235de032c0de846e9f353ebb1576
This commit is contained in:
Tihomir Trifonov 2012-03-01 17:00:26 +02:00
parent 70465e7ef7
commit d2324b8c35

View File

@ -79,7 +79,7 @@ class DisassociateIP(tables.Action):
LOG.info('Disassociating Floating IP "%s".' % obj_id)
messages.success(request,
_('Successfully disassociated Floating IP: %s')
% obj_id)
% fip.ip)
except:
exceptions.handle(request,
_('Unable to disassociate floating IP.'))