From 1eedf181176ce75212a8cfbb87ac927350a826ed Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 25 May 2016 17:56:51 +0100 Subject: [PATCH] mon: fix missing osd metadata (again) The JSON output was getting broken by continuing in the wrong place. Fixes: http://tracker.ceph.com/issues/17685 Signed-off-by: John Spray (cherry picked from commit c5700ce4b45b3a385fe4c2111da852bea7d86da2) --- src/mon/OSDMonitor.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index a587c649b3216..a74d183101f31 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3327,7 +3327,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; -- 2.39.5