From c1c666d8f53e3e044fd25d8d7ceb246827e28c7d Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Thu, 19 Oct 2023 17:24:44 -0400 Subject: [PATCH] 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 --- src/cephadm/cephadm.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py index e9e85a96b19dc..68c29d51e7133 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}', -- 2.39.5