summaryrefslogtreecommitdiffstats
path: root/src/mgr
diff options
context:
space:
mode:
authorWeibing Zhang <atheism.zhang@gmail.com>2016-10-25 09:07:12 +0200
committerWeibing Zhang <atheism.zhang@gmail.com>2016-10-25 09:07:12 +0200
commita06dac4472791bbe540738d5d3aafe7d4dde0a6b (patch)
treeac4533348ac9813dfc5f4889d69d0997cd3fe09e /src/mgr
parentMerge pull request #11632 from VictorDenisov/group_pool_fix (diff)
downloadceph-a06dac4472791bbe540738d5d3aafe7d4dde0a6b.tar.xz
ceph-a06dac4472791bbe540738d5d3aafe7d4dde0a6b.zip
mgr: PyModules.cc: remove duplicated if condition for fs_map
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
Diffstat (limited to 'src/mgr')
-rw-r--r--src/mgr/PyModules.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mgr/PyModules.cc b/src/mgr/PyModules.cc
index de9a4ce24d2..35b6ed0687b 100644
--- a/src/mgr/PyModules.cc
+++ b/src/mgr/PyModules.cc
@@ -153,14 +153,6 @@ PyObject *PyModules::get_python(const std::string &what)
}
);
return f.get();
- } else if (what == "fs_map") {
- PyFormatter f;
- cluster_state.with_fsmap(
- [&f](const FSMap &fsmap) {
- fsmap.dump(&f);
- }
- );
- return f.get();
} else if (what == "osd_metadata") {
PyFormatter f;
auto dmc = daemon_state.get_by_type(CEPH_ENTITY_TYPE_OSD);