Comment 2 for bug 1438923

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/169517
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ae870634d152c3120364775b95220f07ddf3e1fb
Submitter: Jenkins
Branch: master

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.

    Change-Id: I3755151306ef784119aca0d5ee20fd0455116f64
    Closes-Bug: 1438923