From ae7222f0df211cafda66c965933adaa26402f0c6 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 30 Oct 2018 08:50:23 -0700 Subject: [PATCH] Work around influxdb panic --- src/metrics.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/metrics.rs b/src/metrics.rs index 24c6e50a59..9a6c7d476b 100644 --- a/src/metrics.rs +++ b/src/metrics.rs @@ -48,7 +48,9 @@ impl InfluxDbMetricsWriter { client.set_read_timeout(1 /*second*/); client.set_write_timeout(1 /*second*/); - debug!("InfluxDB version: {:?}", client.get_version()); + // TODO: Restore the next line once https://github.com/driftluo/InfluxDBClient-rs/pull/31 + // is merged and published in the influxdb crate + //debug!("InfluxDB version: {:?}", client.get_version()); Some(client) } }