]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix check_for_export() in non-exporting drivers
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 13 Aug 2012 17:42:27 +0000 (10:42 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 13 Aug 2012 17:57:19 +0000 (10:57 -0700)
commit4f7f295c09a498006be6d8a007698432b1c792d8
treea1acb5b008c897a3bb9ba49fb99a04e76320a769
parentdccfa57f6b49d9e92157a3361f42dee0f55bd70c
Fix check_for_export() in non-exporting drivers

This overrides the default check_for_export so that drivers that don't
need to export block devices on the host like Sheepdog and RBD don't
raise a NotImplemented exception when this is called.

Reported-by: Mark Moseley <moseleymark@gmail.com>
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Change-Id: Icf72f51904e7bdc368bfaf0a91dd0433ce3b1cf6
cinder/volume/driver.py