summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-07-26 14:16:24 +0100
committerMark McLoughlin <markmc@redhat.com>2012-07-26 16:53:17 +0100
commitac180dc10aa0ee7eb5e288f4d51cfe46bff33b2d (patch)
tree65f2450993bc88a70fef3708c1cf38fea86ecf05 /nova/api
parent1dab66327368dab8271ee68db0c0bbb97c8d0555 (diff)
downloadnova-ac180dc10aa0ee7eb5e288f4d51cfe46bff33b2d.tar.gz
nova-ac180dc10aa0ee7eb5e288f4d51cfe46bff33b2d.tar.xz
nova-ac180dc10aa0ee7eb5e288f4d51cfe46bff33b2d.zip
Remove return values from some compute RPC methods
The checks_instance_lock decorator currently discards any return value from the functions it wraps. Luckily, none of the callers of these functions check for a return value. Since the return values are unused, just remove them. Fixing the decorator to return them would effectively be a change to the RPC API. And since we know the return value is unused, we also know that nothing checks for the False return from checks_instance_lock() and that too can be removed. Change-Id: I8b49107dba51caf52665341e4977de179b6404f6
Diffstat (limited to 'nova/api')
0 files changed, 0 insertions, 0 deletions