File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ endif()
3131
3232# Define project
3333project (Monitoring
34- VERSION 3.17.4
34+ VERSION 3.17.5
3535 DESCRIPTION "O2 Monitoring library"
3636 LANGUAGES CXX
3737)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ using namespace o2::monitoring;
2525class AliEcsClient {
2626 public:
2727 AliEcsClient (std::shared_ptr<Channel> channel) : mStub (o2control::Control::NewStub(channel)) {}
28- void sendRunDetails (const auto & influxBackend) {
28+ void sendRunDetails (backends::InfluxDB* const influxBackend) {
2929 o2control::GetEnvironmentsRequest request;
3030 request.set_showall (false );
3131 request.set_showtaskinfos (false );
@@ -80,7 +80,7 @@ int main(int argc, char* argv[]) {
8080 httpTransport->addHeader (" Authorization: Token " + vm[" influxdb-token" ].as <std::string>());
8181 auto influxdbBackend = std::make_unique<backends::InfluxDB>(std::move (httpTransport));
8282 for (;;) {
83- client.sendRunDetails (influxdbBackend);
83+ client.sendRunDetails (influxdbBackend. get () );
8484 std::this_thread::sleep_for (std::chrono::seconds (15 ));
8585 }
8686}
You can’t perform that action at this time.
0 commit comments