]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix missing osd metadata (again)
authorJohn Spray <john.spray@redhat.com>
Wed, 25 May 2016 16:56:51 +0000 (17:56 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 29 Sep 2016 16:26:50 +0000 (17:26 +0100)
The JSON output was getting broken by continuing
in the wrong place.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/OSDMonitor.cc

index 9196a283f9a5a32b3f24a6e5cd9e387becd01e0e..001575995a4391505ab4dab5fafbb0d8e3959523 100644 (file)
@@ -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;