summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/contrib/evacuate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/compute/contrib/evacuate.py b/nova/api/openstack/compute/contrib/evacuate.py
index 7877fa1fd..275cec904 100644
--- a/nova/api/openstack/compute/contrib/evacuate.py
+++ b/nova/api/openstack/compute/contrib/evacuate.py
@@ -53,6 +53,7 @@ class Controller(wsgi.Controller):
on_shared_storage = utils.bool_from_str(
evacuate_body["onSharedStorage"])
+ password = None
if 'adminPass' in evacuate_body:
# check that if requested to evacuate server on shared storage
# password not specified