Merge pull request #34284 from liewegas/followon-34266-cleanup

mgr/DaemonServer: add missing ceph_abort

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-04-09 08:39:27 +08:00 committed by GitHub
commit 3f253a9a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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);
}