Merge "Update floating IP tables instance URL check"

This commit is contained in:
Jenkins 2017-01-09 17:53:23 +00:00 committed by Gerrit Code Review
commit 29beb99e93

View File

@ -169,7 +169,7 @@ def get_instance_info(fip):
def get_instance_link(datum):
if datum.instance_type == 'compute':
if getattr(datum, 'instance_id'):
return reverse("horizon:project:instances:detail",
args=(datum.instance_id,))
else: