]> 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)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 14 Apr 2020 14:50:50 +0000 (16:50 +0200)
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 988b3cb76e3f8a9bbf2c83485c1d009305a4d025)

src/pybind/mgr/cephadm/module.py

index 7d8507fe104d5ffc1a22a001c6e9e2e51f28819a..4d034fc8012fa7a0b7e6eb60ca5862e3c12e43ad 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):