From 36ab241f7cfc0049e1bd92835a219e72ddbf94b8 Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Wed, 17 Jul 2013 14:36:27 +0900 Subject: [PATCH] Fixes Opt type of use_multipath_for_image_xfer Changed use_multipath_for_image_xfer from StrOpt to BoolOpt Change-Id: Id02ba23b233d348885250ccb8c14fcf04667adec --- cinder/volume/driver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.45.2