From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

Adjusted REST api server to print it listen on port

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/modules/httpserver-api/global_server.cc b/modules/httpserver-api/global_server.cc
--- a/modules/httpserver-api/global_server.cc
+++ b/modules/httpserver-api/global_server.cc
@@ -92,6 +92,7 @@ bool global_server::run(po::variables_map& _config)
         }
     });

+ std::cout << "Rest API server running on port " << get().config["port"].as<std::string>() << std::endl;
     get().s->run();
     return true;
 }

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to