File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace o2
2727namespace monitoring
2828{
2929
30- std::unique_ptr<Backend> getInfoLogger (http::url uri) {
30+ std::unique_ptr<Backend> getInfoLogger (http::url /* uri*/ ) {
3131 return std::make_unique<backends::InfoLoggerBackend>();
3232}
3333
@@ -45,13 +45,15 @@ std::unique_ptr<Backend> getInfluxDb(http::url uri) {
4545 throw std::runtime_error (" InfluxDB transport protocol not supported" );
4646}
4747
48- std::unique_ptr<Backend> getApMon (http::url uri) {
4948#ifdef _WITH_APPMON
49+ std::unique_ptr<Backend> getApMon (http::url uri) {
5050 return std::make_unique<backends::ApMonBackend>(uri.path );
51+ }
5152#else
53+ std::unique_ptr<Backend> getApMon (http::url /* uri*/ ) {
5254 throw std::runtime_error (" ApMon backend is not enabled" );
53- #endif
5455}
56+ #endif
5557
5658std::unique_ptr<Backend> getFlume (http::url uri) {
5759 return std::make_unique<backends::Flume>(uri.host , uri.port );
You can’t perform that action at this time.
0 commit comments