From: Sage Weil Date: Fri, 26 Oct 2012 21:55:31 +0000 (-0700) Subject: mon: fix leading error string from 'ceph report' X-Git-Tag: v0.54~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2f09d47d218c78cb185dcfa8d28d33364534b6f8;p=ceph.git mon: fix leading error string from 'ceph report' Signed-off-by: Sage Weil --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 73280b0e878..0628a580bac 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -1498,6 +1498,7 @@ void Monitor::handle_command(MMonCommand *m) ss2 << "\n-------- END REPORT " << bl.crc32c(6789) << " --------\n"; rdata.append(bl); rdata.append(ss2.str()); + rs = string(); r = 0; } if (m->cmd[0] == "quorum_status") {