]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/volumes: use apply_mds
authorSage Weil <sage@redhat.com>
Tue, 11 Feb 2020 23:52:38 +0000 (17:52 -0600)
committerSage Weil <sage@redhat.com>
Thu, 13 Feb 2020 15:43:33 +0000 (09:43 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/volumes/fs/fs_util.py

index 2b201877dae0a0bad9a46c554ff5fc2a0ce2e1df..bf3fd751864a882c003aac49790fc1b11e121087 100644 (file)
@@ -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):