Skip to content

Commit

Permalink
refactor(influx): use makeWriteApi instead of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubxity committed Sep 30, 2021
1 parent 1c28729 commit b788c89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class InfluxMetricsDriver(private val api: UnifiedMetrics, private val config: I
.build()

influxDBClient = InfluxDBClientFactory.create(options)
writeApi = influxDBClient?.writeApi
writeApi = influxDBClient?.makeWriteApi()

scheduleTasks()
}
Expand Down

0 comments on commit b788c89

Please sign in to comment.