]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Handle incorrect '--config-dir' param
authorYuriy Nesenenko <ynesenenko@mirantis.com>
Thu, 4 Jun 2015 15:50:14 +0000 (18:50 +0300)
committerYuriy Nesenenko <ynesenenko@mirantis.com>
Fri, 19 Jun 2015 09:44:51 +0000 (12:44 +0300)
commitc51e73b08cbdda096e8c5bda5c917743f280a578
tree15855cbb49f69d66a129257aa975d31bbdf3fcb2
parentde42caeb2e3f90e7ab80e9a5a41e85c1be17888a
Handle incorrect '--config-dir' param

This patch fixes the error that occurs if the --config-dir directory
doesn't exist. The exception ConfigDirNotFoundError should be caught
in this case.

Change-Id: Iee3fbd2b01de11124788e2c1df5c456c4010d234
Closes-Bug: #1255354
cinder/cmd/manage.py
cinder/tests/unit/test_cmd.py