From: Zhongyue Luo Date: Wed, 17 Jul 2013 05:36:27 +0000 (+0900) Subject: Fixes Opt type of use_multipath_for_image_xfer X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=36ab241f7cfc0049e1bd92835a219e72ddbf94b8;p=openstack-build%2Fcinder-build.git Fixes Opt type of use_multipath_for_image_xfer Changed use_multipath_for_image_xfer from StrOpt to BoolOpt Change-Id: Id02ba23b233d348885250ccb8c14fcf04667adec --- diff --git a/cinder/volume/driver.py b/cinder/volume/driver.py index 25cc0a728..9764eb7fc 100644 --- a/cinder/volume/driver.py +++ b/cinder/volume/driver.py @@ -59,10 +59,10 @@ volume_opts = [ cfg.StrOpt('volume_backend_name', default=None, help='The backend name for a given driver implementation'), - cfg.StrOpt('use_multipath_for_image_xfer', - default=False, - help='Do we attach/detach volumes in cinder using multipath ' - 'for volume to image and image to volume transfers?'), ] + cfg.BoolOpt('use_multipath_for_image_xfer', + default=False, + help='Do we attach/detach volumes in cinder using multipath ' + 'for volume to image and image to volume transfers?'), ] CONF = cfg.CONF CONF.register_opts(volume_opts)