fixed as per peer review to make more consistent

This commit is contained in:
John Tran
2011-06-01 16:01:41 -07:00
parent 074e7da80b
commit 568b57fffb

View File

@@ -536,7 +536,7 @@ class FloatingIpCommands(object):
for floating_ip in floating_ips:
instance = None
if floating_ip['fixed_ip']:
instance = floating_ip['fixed_ip']['instance'].hostname
instance = floating_ip['fixed_ip']['instance']['hostname']
print "%s\t%s\t%s" % (floating_ip['host'],
floating_ip['address'],
instance)