]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update ref used for notifications
authorJohn Griffith <john.griffith8@gmail.com>
Tue, 29 Jul 2014 13:37:07 +0000 (07:37 -0600)
committerJohn Griffith <john.griffith8@gmail.com>
Sat, 16 Aug 2014 01:43:47 +0000 (19:43 -0600)
commit7fd2eea9710ca96415ee7d08349ae981a262f44f
treefca1872b2f7b5401c418b4a63e7d7b63697cbc50
parentd5b77351379b642c5c74afaee201050b76bad777
Update ref used for notifications

When we update a volume status in the db, we need to
use the newly updated volume-ref object in the following
notification method call.  Otherwise we're sending a
notification message with the old/outdated status
information.

Change-Id: I4d92b340cf5e20aaa885377dfb6bd6fc4ed87d69
Closes-Bug: #1349808
cinder/tests/test_db_api.py
cinder/volume/manager.py