From 60562414e10dfd29f0d42f2047da9bddc64b7d34 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 10 Apr 2021 12:53:24 -0400 Subject: [PATCH] mgr/orchestrator: drop - when no ports Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index f24177064e4..d4fb259ce4b 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -649,7 +649,7 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule, table.add_row(( s.name(), ukn(s.hostname), - s.get_port_summary() or '-', + s.get_port_summary(), status, nice_delta(now, s.last_refresh, ' ago'), nice_delta(now, s.created), -- 2.39.5