]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix leading error string from 'ceph report'
authorSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 21:55:31 +0000 (14:55 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 21:55:43 +0000 (14:55 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc

index 73280b0e8780a1c264d3a167f348ccc8c1df4d38..0628a580bac4b82f99e0747ba546dc8f228885a2 100644 (file)
@@ -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") {