]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/apps/httpd/main.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / seastar / apps / httpd / main.cc
index 62af943440f1c1304934e20efa0e2759d55f0a41..1efe90f5ee487393838b7b22a0dbd632267dd2c8 100644 (file)
@@ -72,7 +72,7 @@ int main(int ac, char** av) {
         uint16_t port = config["port"].as<uint16_t>();
         auto server = new http_server_control();
         auto rb = make_shared<api_registry_builder>("apps/httpd/");
-        server->start().then([server] {
+        return server->start().then([server] {
             return server->set_routes(set_routes);
         }).then([server, rb]{
             return server->set_routes([rb](routes& r){rb->set_api_doc(r);});