From: John Spray Date: Wed, 25 May 2016 16:56:51 +0000 (+0100) Subject: mon: fix missing osd metadata (again) X-Git-Tag: v11.0.1~60^2~72 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c5700ce4b45b3a385fe4c2111da852bea7d86da2;p=ceph.git mon: fix missing osd metadata (again) The JSON output was getting broken by continuing in the wrong place. Signed-off-by: John Spray --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 9196a283f9a5..001575995a43 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3353,7 +3353,6 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op) // Drop error, continue to get other daemons' metadata dout(4) << "No metadata for osd." << i << dendl; r = 0; - continue; } else if (r < 0) { // Unexpected error goto reply;