From 988b3cb76e3f8a9bbf2c83485c1d009305a4d025 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Fri, 27 Mar 2020 08:11:09 -0600 Subject: [PATCH] mgr/cephadm: remove stray regexp Signed-off-by: Michael Fritch --- src/pybind/mgr/cephadm/module.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 2857b3653f6..6e87ff49268 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): -- 2.39.5