From: Kefu Chai Date: Mon, 28 Jun 2021 04:39:12 +0000 (+0800) Subject: pybind/mgr/pg_autoscaler: do not create a tuple long_desc X-Git-Tag: v17.1.0~1522^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f725e09ae63702097f0eef1395391933083a9d96;p=ceph-ci.git pybind/mgr/pg_autoscaler: do not create a tuple long_desc long_desc is supposed to be a str, not a tuple of str. Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/pg_autoscaler/module.py b/src/pybind/mgr/pg_autoscaler/module.py index c1cc1393aa7..0f35b22d211 100644 --- a/src/pybind/mgr/pg_autoscaler/module.py +++ b/src/pybind/mgr/pg_autoscaler/module.py @@ -116,9 +116,9 @@ class PgAutoscaler(MgrModule): type='str', desc='pg_autoscale profiler', long_desc=('Determines the behavior of the autoscaler algorithm ' - '`scale-up` means that it starts out with minmum pgs ', - 'and scales up when there is pressure, `scale-down` ', - 'means starts out with full pgs and scales down when ', + '`scale-up` means that it starts out with minmum pgs ' + 'and scales up when there is pressure, `scale-down` ' + 'means starts out with full pgs and scales down when ' 'there is pressure '), runtime=True), ]