From 2b63ae25c9af576b8cbab80b17af013b2868f7a2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 Apr 2021 15:35:17 -0400 Subject: [PATCH] mgr/orchestrator: remove IMAGE ID from 'orch ls' This is not very useful at this level: - we see it from 'orch ps' - it can be a mix of ids during upgrade - some services may have multiple images at steady state (e.g., ingress) Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator/module.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 2e9e1f2574a..f24177064e4 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -562,14 +562,13 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule, now = datetime_now() table = PrettyTable( ['NAME', 'RUNNING', 'REFRESHED', 'AGE', - 'PLACEMENT', 'IMAGE ID' + 'PLACEMENT', ], border=False) table.align['NAME'] = 'l' table.align['RUNNING'] = 'r' table.align['REFRESHED'] = 'l' table.align['AGE'] = 'l' - table.align['IMAGE ID'] = 'l' table.align['PLACEMENT'] = 'l' table.left_padding_width = 0 table.right_padding_width = 2 @@ -591,7 +590,6 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule, refreshed, nice_delta(now, s.created), pl, - ukn(s.container_image_id)[0:12], )) return HandleCommandResult(stdout=table.get_string()) -- 2.39.5