From: Michael Fritch Date: Fri, 27 Mar 2020 14:11:09 +0000 (-0600) Subject: mgr/cephadm: remove stray regexp X-Git-Tag: v16.1.0~2642^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=988b3cb76e3f8a9bbf2c83485c1d009305a4d025;p=ceph.git mgr/cephadm: remove stray regexp Signed-off-by: Michael Fritch --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 2857b3653f65..6e87ff492685 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -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):