Skip to content

Commit

Permalink
refactor(prometheus): use close 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 b788c89 commit 520a525
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PrometheusHTTPExporter(private val api: UnifiedMetrics, private val driver
}

override fun close() {
server?.stop()
server?.close()
server = null
}
}

0 comments on commit 520a525

Please sign in to comment.