From: Michael Fritch Date: Mon, 9 Mar 2020 23:21:11 +0000 (-0600) Subject: mgr/cephadm: fix service name for nfs type X-Git-Tag: v16.1.0~2793^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d9f04ec1d73948e915dda0f51592306542314238;p=ceph.git mgr/cephadm: fix service name for nfs type the `nfs` service was incorrectly reported as `mds` Signed-off-by: Michael Fritch --- diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index 4cf48c30857e..1adaad628aeb 100644 --- a/src/pybind/mgr/orchestrator/_interface.py +++ b/src/pybind/mgr/orchestrator/_interface.py @@ -1281,7 +1281,7 @@ class DaemonDescription(object): return 'rgw.%s' % s_name if self.daemon_type in ['mds', 'nfs']: _s_name = self.daemon_id.split('.')[0] - return 'mds.%s' % _s_name + return '%s.%s' % (self.daemon_type, _s_name) return self.daemon_type def __repr__(self):