summaryrefslogtreecommitdiffstats
path: root/nova/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'nova/cmd')
-rw-r--r--nova/cmd/manage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py
index 2482e0be2..c3b363117 100644
--- a/nova/cmd/manage.py
+++ b/nova/cmd/manage.py
@@ -285,7 +285,8 @@ class FixedIpCommands(object):
if host is None:
fixed_ips = db.fixed_ip_get_all(ctxt)
else:
- fixed_ips = db.fixed_ip_get_all_by_instance_host(ctxt, host)
+ fixed_ips = db.fixed_ip_get_by_host(ctxt, host)
+
except exception.NotFound as ex:
print _("error: %s") % ex
return(2)