From: John Mulligan Date: Thu, 19 Oct 2023 21:24:44 +0000 (-0400) Subject: cephadm: remove unused get_container_mounts CephExporter method X-Git-Tag: v19.0.0~118^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c1c666d8f53e3e044fd25d8d7ceb246827e28c7d;p=ceph-ci.git cephadm: remove unused get_container_mounts CephExporter method The get_container_mounts method on CephExporter is never called. Remove it. Signed-off-by: John Mulligan --- diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py index e9e85a96b19..68c29d51e71 100755 --- a/src/cephadm/cephadm.py +++ b/src/cephadm/cephadm.py @@ -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}',