From: John Spray Date: Wed, 1 Oct 2014 11:08:00 +0000 (+0100) Subject: mon: fix JSON `fs ls` output X-Git-Tag: v0.86~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2615%2Fhead;p=ceph.git mon: fix JSON `fs ls` output A missing list terminator was causing unparseable output. Signed-off-by: John Spray --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 34216ea1d060..fe6fe23d9743 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -791,6 +791,7 @@ bool MDSMonitor::preprocess_command(MMonCommand *m) f->dump_int("data_pool_id", *dpi); } } + f->close_section(); f->open_array_section("data_pools"); {