]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/DaemonServer: add missing ceph_abort 34284/head
authorSage Weil <sage@redhat.com>
Mon, 30 Mar 2020 13:29:38 +0000 (08:29 -0500)
committerSage Weil <sage@redhat.com>
Mon, 30 Mar 2020 13:29:38 +0000 (08:29 -0500)
This was dropped for no good reason by ea274a1

Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/DaemonServer.cc

index de0a99cb870d8f040b18444c5c50ef5fd41db071..6828906f272b99bf86d7a7202dbc7430f3ceeee9 100644 (file)
@@ -406,6 +406,8 @@ void DaemonServer::fetch_missing_metadata(const DaemonKey& key,
     } else if (key.type == "mon") {
       oss << "{\"prefix\": \"mon metadata\", \"id\": \""
          << key.name << "\"}";
+    } else {
+      ceph_abort();
     }
     monc->start_mon_command({oss.str()}, {}, &c->outbl, &c->outs, c);
   }