]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: remove stray regexp
authorMichael Fritch <mfritch@suse.com>
Fri, 27 Mar 2020 14:11:09 +0000 (08:11 -0600)
committerMichael Fritch <mfritch@suse.com>
Tue, 31 Mar 2020 19:20:40 +0000 (13:20 -0600)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/module.py

index 2857b3653f6553754c4dc5eb518373f7ae3e2f82..6e87ff4926859e21bdd04703b2b9d2239a2e33a5 100644 (file)
@@ -1261,7 +1261,6 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
         Returns the generic service name
         """
         p = re.compile(r'(.*)\.%s.*' % (host))
-        p.sub(r'\1', daemon_id)
         return '%s.%s' % (daemon_type, p.sub(r'\1', daemon_id))
 
     def _save_inventory(self):