mgr/orch: orch ls: rename SPEC -> PLACEMENT

More accurate, I think.  We only ever show placement here.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2020-03-13 10:14:04 -05:00
parent d1fb105db6
commit bae6bb405d

View 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):