diff options
| author | Belmiro Moreira <moreira.belmiro.email.lists@gmail.com> | 2012-11-21 12:58:35 +0100 |
|---|---|---|
| committer | Belmiro Moreira <moreira.belmiro.email.lists@gmail.com> | 2012-11-22 13:28:12 +0100 |
| commit | acfe50638254da608fec0c01f2511b3aad4c9487 (patch) | |
| tree | c2f0bbac7accc54490deed4fc738cb442e9a2595 /nova/openstack | |
| parent | 9dfb4b420f9d15d348f9fa9a2a0cb1a57f4e5771 (diff) | |
| download | nova-acfe50638254da608fec0c01f2511b3aad4c9487.tar.gz nova-acfe50638254da608fec0c01f2511b3aad4c9487.tar.xz nova-acfe50638254da608fec0c01f2511b3aad4c9487.zip | |
Don't update arch twice when create server
During the instance creation a dictionary of instance characteristics
(base_options) is created in nova.compute.api._create_instance where
"architecture" is defined looking into image[properties].
Then "architecture" entry is updated to the same value in
nova.compute.api._populate_instance_for_create if defined or it removes
the 'Unknown' value for this key.
This patch removes the unnecessary "architecture" update.
Change-Id: Id76dedef8fc96dcd6fa5b72ace6c50c85e04215b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
