]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orch: orch ls: rename SPEC -> PLACEMENT
authorSage Weil <sage@redhat.com>
Fri, 13 Mar 2020 15:14:04 +0000 (10:14 -0500)
committerSage Weil <sage@redhat.com>
Mon, 16 Mar 2020 13:28:45 +0000 (08:28 -0500)
More accurate, I think.  We only ever show placement here.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/orchestrator/module.py

index 65ddc83613b1fcd16d0b48183b3e292a63eb6058..71fa6d4fd811597a2e7cc1d38352bee4f8ab6c99 100644 (file)
@@ -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):