]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove check_{attach,detach} from volumes API
authorNikola Dipanov <ndipanov@redhat.com>
Fri, 25 Apr 2014 16:39:43 +0000 (18:39 +0200)
committerNikola Dipanov <ndipanov@redhat.com>
Mon, 2 Jun 2014 15:37:24 +0000 (17:37 +0200)
commit27fe5638caed1544220943b07895c8afc70dab32
tree04811c7b5073e61eb44a96d0ccb5924690bd5964
parentd955c1da4490987233e252f94dffcfa106746c14
Remove check_{attach,detach} from volumes API

These methods are not called from anywhere and are likely just a relic
from splitting Cinder out from Nova. Moreover their usage from the API
should really be discouraged as they are inherently racy (the result is
immediately outdated since it is not atomic with anything that might
follow).

Partial-bug: #1302774
Change-Id: I5d79b22b2a1d3c9be429a13d094328fc2075fcd2
cinder/tests/policy.json
cinder/volume/api.py