From: Sage Weil Date: Sat, 10 Apr 2021 16:53:24 +0000 (-0400) Subject: mgr/orchestrator: drop - when no ports X-Git-Tag: v16.2.2~1^2~48 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d8b7dcce71a0895147f95b932d2374044cd88262;p=ceph.git mgr/orchestrator: drop - when no ports Signed-off-by: Sage Weil (cherry picked from commit 60562414e10dfd29f0d42f2047da9bddc64b7d34) --- diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index f24177064e401..d4fb259ce4b76 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),