summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Tran <jtran@attinteractive.com>2011-06-01 16:01:41 -0700
committerJohn Tran <jtran@attinteractive.com>2011-06-01 16:01:41 -0700
commitced79009e6555eb75f3862184834a883d37b2062 (patch)
tree3a648958842e3f01aeafc1b2cd22bd7cf071c4c0
parent7c0564baf72cbb5c3693ab72c72684a5c6b333c5 (diff)
fixed as per peer review to make more consistent
-rwxr-xr-xbin/nova-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 51373d282..5de4d9e81 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -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)