summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorBelmiro Moreira <moreira.belmiro.email.lists@gmail.com>2012-11-21 12:58:35 +0100
committerBelmiro Moreira <moreira.belmiro.email.lists@gmail.com>2012-11-22 13:28:12 +0100
commitacfe50638254da608fec0c01f2511b3aad4c9487 (patch)
treec2f0bbac7accc54490deed4fc738cb442e9a2595 /nova/openstack
parent9dfb4b420f9d15d348f9fa9a2a0cb1a57f4e5771 (diff)
downloadnova-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