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 <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-06-28 12:39:12 +08:00
parent 9bb55e8480
commit f725e09ae6

View 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),
]