From: Sage Weil Date: Fri, 13 Mar 2020 15:14:04 +0000 (-0500) Subject: mgr/orch: orch ls: rename SPEC -> PLACEMENT X-Git-Tag: v15.2.0~38^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bae6bb405d57747631db3f26de88ef901ba10aa6;p=ceph.git mgr/orch: orch ls: rename SPEC -> PLACEMENT More accurate, I think. We only ever show placement here. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 65ddc83613b1..71fa6d4fd811 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -342,7 +342,7 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule): now = datetime.datetime.utcnow() table = PrettyTable( ['NAME', 'RUNNING', 'REFRESHED', 'AGE', - 'SPEC', + 'PLACEMENT', 'IMAGE NAME', 'IMAGE ID', ], border=False) @@ -352,7 +352,7 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule): table.align['AGE'] = 'l' table.align['IMAGE NAME'] = 'l' table.align['IMAGE ID'] = 'l' - table.align['SPEC'] = 'l' + table.align['PLACEMENT'] = 'l' table.left_padding_width = 0 table.right_padding_width = 2 for s in sorted(services, key=lambda s: s.service_name):