summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorSean M. Collins <sean@coreitpro.com>2012-06-27 14:58:00 -0400
committerSean M. Collins <sean@coreitpro.com>2012-06-28 10:12:09 -0400
commit8ecb4d6f236333303bd1b0ab39543009c9afe161 (patch)
tree4b3e6abca4851a0841070af1dd43be2ae2673417 /nova/api
parent829832bc7bfea94da061a8aff42ba7229ab23bdc (diff)
Remove duplicate check of server_dict['name']
Exact same three lines are at line 614. Change-Id: I806574e9d5152e7c63bdb45e86e8844ce78fbc9f
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/servers.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/api/openstack/compute/servers.py b/nova/api/openstack/compute/servers.py
index 9791caa54..5a8e1f645 100644
--- a/nova/api/openstack/compute/servers.py
+++ b/nova/api/openstack/compute/servers.py
@@ -659,9 +659,6 @@ class Controller(wsgi.Controller):
self._validate_user_data(user_data)
availability_zone = server_dict.get('availability_zone')
- name = server_dict['name']
- self._validate_server_name(name)
- name = name.strip()
block_device_mapping = self._get_block_device_mapping(server_dict)