commit f99af38cade764445fe7a40b4763293a0f91b514
Author: Andrew Laski <email address hidden>
Date: Mon Jun 8 13:23:36 2015 -0400
Map uuid db field to instance_uuid in BandwidthUsage object
The BandwidthUsage database model stores the instance relation as 'uuid'
but the BandwidthUsage Nova Object stores it as instance_uuid. The
_from_db_object needs to handle this discrepancy.
This wasn't caught before because unit tests were passing back a
simulated db return which didn't match reality.
Reviewed: https:/ /review. openstack. org/189397 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f99af38cade 764445fe7a40b47 63293a0f91b514
Committed: https:/
Submitter: Jenkins
Branch: master
commit f99af38cade7644 45fe7a40b476329 3a0f91b514
Author: Andrew Laski <email address hidden>
Date: Mon Jun 8 13:23:36 2015 -0400
Map uuid db field to instance_uuid in BandwidthUsage object
The BandwidthUsage database model stores the instance relation as 'uuid'
but the BandwidthUsage Nova Object stores it as instance_uuid. The
_from_db_object needs to handle this discrepancy.
This wasn't caught before because unit tests were passing back a
simulated db return which didn't match reality.
Change-Id: I9aeac709cbbf0f 9ddfa6cf724d55a f8fa3a962ee
Closes-Bug: 1463039