From 389020e14594e4894e28d1eb9103c210b142509e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:13 +0200 Subject: Adding upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/pybind/mgr/mirroring/fs/snapshot_mirror.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/pybind/mgr/mirroring/fs/snapshot_mirror.py') diff --git a/src/pybind/mgr/mirroring/fs/snapshot_mirror.py b/src/pybind/mgr/mirroring/fs/snapshot_mirror.py index 6fa8d0c4c..89da37920 100644 --- a/src/pybind/mgr/mirroring/fs/snapshot_mirror.py +++ b/src/pybind/mgr/mirroring/fs/snapshot_mirror.py @@ -558,14 +558,11 @@ class FSSnapshotMirror: peers = self.get_filesystem_peers(filesystem) peer_res = {} for peer_uuid, rem in peers.items(): - conf = self.config_get(FSSnapshotMirror.peer_config_key(filesystem, peer_uuid)) remote = rem['remote'] peer_res[peer_uuid] = {'client_name': remote['client_name'], 'site_name': remote['cluster_name'], 'fs_name': remote['fs_name'] } - if 'mon_host' in conf: - peer_res[peer_uuid]['mon_host'] = conf['mon_host'] return 0, json.dumps(peer_res), '' except MirrorException as me: return me.args[0], '', me.args[1] -- cgit v1.2.3