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: v16.2.6~38^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ee93a775ef9ce2aca9f62da4cd1ef67aa14af6c7;p=ceph.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 (cherry picked from commit f725e09ae63702097f0eef1395391933083a9d96) --- 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), ]