diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/mirroring/fs/snapshot_mirror.py | 3 |
1 files changed, 0 insertions, 3 deletions
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] |