commit ae870634d152c3120364775b95220f07ddf3e1fb
Author: Andrew Laski <email address hidden>
Date: Tue Mar 31 17:26:30 2015 -0400
Update check before migrating flavor
db_inst.get('extra', {}) returns {} if 'extra' is not in db_inst, but
not if db_inst['extra'] is None. Since the result of that is accessed
like a dict the access of 'extra' has been changed to ensure that we get
a dict.
Reviewed: https:/ /review. openstack. org/169517 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ae870634d15 2c3120364775b95 220f07ddf3e1fb
Committed: https:/
Submitter: Jenkins
Branch: master
commit ae870634d152c31 20364775b95220f 07ddf3e1fb
Author: Andrew Laski <email address hidden>
Date: Tue Mar 31 17:26:30 2015 -0400
Update check before migrating flavor
db_ inst.get( 'extra' , {}) returns {} if 'extra' is not in db_inst, but
not if db_inst['extra'] is None. Since the result of that is accessed
like a dict the access of 'extra' has been changed to ensure that we get
a dict.
Change-Id: I3755151306ef78 4119aca0d5ee20f d0455116f64
Closes-Bug: 1438923