From a27d0eb32afc32d745de6a3aafb905ea6151813c Mon Sep 17 00:00:00 2001 From: zhubx007 Date: Wed, 8 Aug 2018 15:43:55 +0800 Subject: [PATCH] Fix one help description of rbd driver One symbol '-' of report_dynamic_total_capacity was removed by commit https://review.openstack.org/#/c/564068/. In fact, The last two symbols '-' are a pair of. Maybe the symbol '-' makes person confused, so that I replace '-' with '(' and ')'. Change-Id: I7da0f4715ba64e1384f7bf345ac850ca819555e7 --- cinder/volume/drivers/rbd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cinder/volume/drivers/rbd.py b/cinder/volume/drivers/rbd.py index fa1bd5dab85..140f5de1a4e 100644 --- a/cinder/volume/drivers/rbd.py +++ b/cinder/volume/drivers/rbd.py @@ -102,9 +102,9 @@ RBD_OPTS = [ 'value is used.'), cfg.BoolOpt('report_dynamic_total_capacity', default=True, help='Set to True for driver to report total capacity as a ' - 'dynamic value -used + current free- and to False to ' - 'report a static value -quota max bytes if defined and ' - 'global size of cluster if not.'), + 'dynamic value (used + current free) and to False to ' + 'report a static value (quota max bytes if defined and ' + 'global size of cluster if not).'), cfg.BoolOpt('rbd_exclusive_cinder_pool', default=False, help="Set to True if the pool is used exclusively by Cinder. " "On exclusive use driver won't query images' provisioned "