commit 48389857d15c5cda860fa8f9914d62b148bfd17a
Author: John Griffith <email address hidden>
Date: Wed Jun 19 17:33:59 2013 -0600
Modify check for volume-type-id to a get w/default
While implementing Fix for a previous bug to enable setting
volume type on a cloned volume and reading it's info we added
a vref['volume_type_id'], problem is that the _do_clone method
is shared for both clone and create from snapshot.
In the create from snapshot case however that key doesn't exist
in the vref (which is a snapshot object).
This change turns this into a key.get with a default return.
Reviewed: https:/ /review. openstack. org/33735 github. com/openstack/ cinder/ commit/ 48389857d15c5cd a860fa8f9914d62 b148bfd17a
Committed: http://
Submitter: Jenkins
Branch: master
commit 48389857d15c5cd a860fa8f9914d62 b148bfd17a
Author: John Griffith <email address hidden>
Date: Wed Jun 19 17:33:59 2013 -0600
Modify check for volume-type-id to a get w/default
While implementing Fix for a previous bug to enable setting type_id' ], problem is that the _do_clone method
volume type on a cloned volume and reading it's info we added
a vref['volume_
is shared for both clone and create from snapshot.
In the create from snapshot case however that key doesn't exist
in the vref (which is a snapshot object).
This change turns this into a key.get with a default return.
Fixes bug: 1192745
Change-Id: I1a6d38de614f54 fcaa31ea7cc4250 aacc85b0796