diff options
| author | Sean M. Collins <sean@coreitpro.com> | 2012-06-27 14:58:00 -0400 |
|---|---|---|
| committer | Sean M. Collins <sean@coreitpro.com> | 2012-06-28 10:12:09 -0400 |
| commit | 8ecb4d6f236333303bd1b0ab39543009c9afe161 (patch) | |
| tree | 4b3e6abca4851a0841070af1dd43be2ae2673417 | |
| parent | 829832bc7bfea94da061a8aff42ba7229ab23bdc (diff) | |
Remove duplicate check of server_dict['name']
Exact same three lines are at line 614.
Change-Id: I806574e9d5152e7c63bdb45e86e8844ce78fbc9f
| -rw-r--r-- | Authors | 1 | ||||
| -rw-r--r-- | nova/api/openstack/compute/servers.py | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -194,6 +194,7 @@ Sascha Peilicke <saschpe@suse.de> Sateesh Chodapuneedi <sateesh.chodapuneedi@citrix.com> Scott Moser <smoser@ubuntu.com> Sean Dague <sdague@linux.vnet.ibm.com> +Sean M. Collins <sean@coreitpro.com> Somik Behera <somikbehera@gmail.com> Soren Hansen <soren.hansen@rackspace.com> Stanislaw Pitucha <stanislaw.pitucha@hp.com> 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) |
