summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-08-22 18:53:13 -0700
committerDan Mick <dan.mick@inktank.com>2013-08-22 18:53:34 -0700
commitab4e85da6a6cd6932d7b2d3c43cbf17f8e5b51db (patch)
treeaf569fd1f2810a3c2fbc946641d980c45b4b6dfc
parent3d55534268de7124d29bd365ea65da8d2f63e501 (diff)
downloadceph-ab4e85da6a6cd6932d7b2d3c43cbf17f8e5b51db.tar.gz
PGMonitor: pg dump_stuck should respect --format (plain works fine)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
-rw-r--r--src/mon/PGMonitor.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc
index bb5f447a4e3..1da2793fdaf 100644
--- a/src/mon/PGMonitor.cc
+++ b/src/mon/PGMonitor.cc
@@ -1423,7 +1423,6 @@ bool PGMonitor::preprocess_command(MMonCommand *m)
cmd_getval(g_ceph_context, cmdmap, "threshold", threshold,
int64_t(g_conf->mon_pg_stuck_threshold));
- boost::scoped_ptr<Formatter> f(new_formatter("json"));
r = dump_stuck_pg_stats(ds, f.get(), (int)threshold, stuckop_vec);
ss << "ok";
r = 0;