]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/pg_autoscaler: do not create a tuple long_desc
authorKefu Chai <kchai@redhat.com>
Mon, 28 Jun 2021 04:39:12 +0000 (12:39 +0800)
committerKamoltat <ksirivad@redhat.com>
Thu, 26 Aug 2021 19:56:44 +0000 (19:56 +0000)
long_desc is supposed to be a str, not a tuple of str.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f725e09ae63702097f0eef1395391933083a9d96)

src/pybind/mgr/pg_autoscaler/module.py

index c1cc1393aa70f7fdc0a4048a9bdf8c057eb3265b..0f35b22d211ecfdf3064e5da082a8e3eb5da9d12 100644 (file)
@@ -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),
     ]