From ab4e85da6a6cd6932d7b2d3c43cbf17f8e5b51db Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 22 Aug 2013 18:53:13 -0700 Subject: PGMonitor: pg dump_stuck should respect --format (plain works fine) Signed-off-by: Dan Mick --- src/mon/PGMonitor.cc | 1 - 1 file changed, 1 deletion(-) 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 f(new_formatter("json")); r = dump_stuck_pg_stats(ds, f.get(), (int)threshold, stuckop_vec); ss << "ok"; r = 0; -- cgit v1.2.1