diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-07-20 10:32:23 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-07-25 19:48:30 -0400 |
| commit | eebc64f949ccb2acb7462efc18f538f1827985af (patch) | |
| tree | 3dedcfd1e0a3d26fe3e370f80e3a84fbcbdbb2d9 /nova/openstack | |
| parent | 9072290b22732f29152cca1bff54c7a0af5643f7 (diff) | |
| download | nova-eebc64f949ccb2acb7462efc18f538f1827985af.tar.gz nova-eebc64f949ccb2acb7462efc18f538f1827985af.tar.xz nova-eebc64f949ccb2acb7462efc18f538f1827985af.zip | |
Update decorators in compute manager.
This patch modifies two decorators in the compute manager:
checks_instance_lock and wrap_instance_fault. Both of these assumed that
the function they are wrapping takes two positional arguments: context
and instance_uuid. They will automatically adapt to the new form that
the functions they wrap will be taking. These functions will all be
modified to take either a full instance dict or an instance_uuid for
backwards compatibility.
Part of blueprint no-db-messaging.
Change-Id: I93e331706aed1c97877655ce54784a0dbd8de89e
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
