Removes instance UUID from floating ip table

Fixes launchpad bug #1039090

Change-Id: Ia47423b4289373a867d70f02c75becd4882e25c4
This commit is contained in:
Kelsey Tripp 2012-08-20 12:31:54 -07:00
parent cb3c7a9521
commit 1048ac671a

View File

@ -95,12 +95,7 @@ class DisassociateIP(tables.Action):
def get_instance_info(instance):
info_string = _("%(INSTANCE_NAME)s (%(INSTANCE_ID)s)")
if instance.instance_id and instance.instance_name:
vals = {'INSTANCE_NAME': instance.instance_name,
'INSTANCE_ID': instance.instance_id}
return info_string % vals
return None
return getattr(instance, "instance_name", None)
def get_instance_link(datum):