summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-07-26 17:32:03 -0400
committerRussell Bryant <rbryant@redhat.com>2012-07-26 18:46:32 -0400
commit4a1650eea23c3b8a064721a2985d481218f04500 (patch)
tree25898756612859c4551a5ee869ce0aed35562a32 /nova/openstack
parentd5c3271b1159ea3dfce3c0bf56b75006784ee439 (diff)
Make instance_uuid backwards compat actually work.
In some refactoring of the decorator modifications I made for eebc64f949ccb2acb7462efc18f538f1827985af, I ended up breaking the case where an instance_uuid was passed to one of the methods that is supposed to be able to accept either an instance or instance_uuid. Oops. :-( This patch makes them work again, and adds one unit test that verifies that it works. These decorators are really ugly right now, but keep in mind that the 2-version stuff is temporary. As soon as this patch series is finished (changing methods to take an instance), these decorators will get simplified. Part of blueprint no-db-messaging. Change-Id: Ic1b1269d90e147035c4eb7b4bd47de81eff3ffdc
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions