From: xie xingguo Date: Wed, 17 Aug 2016 06:34:01 +0000 (+0800) Subject: mon/PGMonitor: drop redundant loading of dumpcontents X-Git-Tag: v11.0.1~422^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9c065e67d29211352950e8e858b7b55c7d3ada20;p=ceph-ci.git mon/PGMonitor: drop redundant loading of dumpcontents Signed-off-by: xie xingguo --- diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 04c75e59d58..d07f5110df8 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -1699,11 +1699,6 @@ bool PGMonitor::preprocess_command(MonOpRequestRef op) if (what.empty()) what.insert("all"); if (f) { - vector dumpcontents; - if (cmd_getval(g_ceph_context, cmdmap, "dumpcontents", dumpcontents)) { - copy(dumpcontents.begin(), dumpcontents.end(), - inserter(what, what.end())); - } if (what.count("all")) { f->open_object_section("pg_map"); pg_map.dump(f.get());