]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes: fix oremote
authorSage Weil <sage@redhat.com>
Tue, 27 Nov 2018 04:05:01 +0000 (22:05 -0600)
committerSage Weil <sage@redhat.com>
Tue, 27 Nov 2018 19:00:45 +0000 (13:00 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/volumes/module.py

index 6e83277b3ca9556b7696f99c23232ed7dda90b79..4e11ae82617ed3ff229733196a9af25defb70928 100644 (file)
@@ -83,12 +83,7 @@ class Module(MgrModule):
         """
         Helper for invoking `remote` on whichever orchestrator is enabled
         """
-        # TODO: orchestrator_cli has a setting for orchestrator backend,
-        # but we don't really want to start propagating that into
-        # other modules individually -- maybe mgrmap should have
-        # the setting?  or just a C++-level mgr config option?
-
-        return self.remote("rook",
+        return self.remote("orchestrator_cli", "_oremote",
                            *args, **kwargs)
 
     def serve(self):