summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 24e095b92..da9d375e4 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -304,7 +304,7 @@ class FixedIpCommands(object):
network = all_networks.get(fixed_ip['network_id'])
if network:
has_ip = True
- if fixed_ip['instance_id']:
+ if fixed_ip.get('instance_id'):
instance = instances_by_id.get(fixed_ip['instance_id'])
if instance:
hostname = instance['hostname']