]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Modify error code compatible with Mac OS.
authorRick Chen <rick.chen@prophetstor.com>
Tue, 19 Aug 2014 16:12:23 +0000 (00:12 +0800)
committerRick Chen <rick.chen@prophetstor.com>
Wed, 20 Aug 2014 04:23:02 +0000 (12:23 +0800)
commitf5217aa63c8e39e27d8fc782caad0c24a7265805
tree81b21b83c294b8901b60aba9e161312d0b4dbf4c
parentc8941ececc22c4642d5448174ccb062d027626d8
Modify error code compatible with Mac OS.

Mac OS builtin python errno object has no
attribute 'ENAVAIL'.
Changed
  errno.ENAVAIL --> errno.ENODATA
Another when backend storage service not ready, the
error code "ENAVAIL" change to "ENOPROTOOPT".

Change-Id: I0c41dfe44a4dea02329ff21df881f4c133fe6099
Closes-Bug: 1357010
cinder/volume/drivers/prophetstor/dplcommon.py