From 88e78936cccdd2c7204d67154ff074039204bc84 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 11 Feb 2020 17:52:38 -0600 Subject: [PATCH] mgr/volumes: use apply_mds Signed-off-by: Sage Weil --- src/pybind/mgr/volumes/fs/fs_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/volumes/fs/fs_util.py b/src/pybind/mgr/volumes/fs/fs_util.py index 2b201877dae..bf3fd751864 100644 --- a/src/pybind/mgr/volumes/fs/fs_util.py +++ b/src/pybind/mgr/volumes/fs/fs_util.py @@ -36,7 +36,7 @@ def remove_filesystem(mgr, fs_name): def create_mds(mgr, fs_name): spec = orchestrator.ServiceSpec(fs_name) try: - completion = mgr.add_mds(spec) + completion = mgr.apply_mds(spec) mgr._orchestrator_wait([completion]) orchestrator.raise_if_exception(completion) except (ImportError, orchestrator.OrchestratorError): -- 2.39.5