From d2324b8c35e6874b8ecbba4015eed3f41616ae6d Mon Sep 17 00:00:00 2001 From: Tihomir Trifonov Date: Thu, 1 Mar 2012 17:00:26 +0200 Subject: [PATCH] Changed alert message to show actual IP instead of obj_id for 'Disassociate IP' action. Fixes bug 944478. Change-Id: I5a5fbd649ce1235de032c0de846e9f353ebb1576 --- .../dashboards/nova/access_and_security/floating_ips/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizon/dashboards/nova/access_and_security/floating_ips/tables.py b/horizon/dashboards/nova/access_and_security/floating_ips/tables.py index 8e20c2baf..e050c5b60 100644 --- a/horizon/dashboards/nova/access_and_security/floating_ips/tables.py +++ b/horizon/dashboards/nova/access_and_security/floating_ips/tables.py @@ -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.'))