]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: remove unused get_container_mounts CephExporter method
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 19 Oct 2023 21:24:44 +0000 (17:24 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 7 Nov 2023 12:51:51 +0000 (07:51 -0500)
The get_container_mounts method on CephExporter is never called.
Remove it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py

index e9e85a96b19dc2480a6fc3247f1583511d2131bb..68c29d51e7133b4cd3476e7299c4b39b9f536fe3 100755 (executable)
@@ -1352,12 +1352,6 @@ class CephExporter(ContainerDaemonForm):
     def identity(self) -> DaemonIdentity:
         return DaemonIdentity(self.fsid, self.daemon_type, self.daemon_id)
 
-    @staticmethod
-    def get_container_mounts() -> Dict[str, str]:
-        mounts = dict()
-        mounts['/var/run/ceph'] = '/var/run/ceph:z'
-        return mounts
-
     def get_daemon_args(self) -> List[str]:
         args = [
             f'--sock-dir={self.sock_dir}',