From 138f32e36062230943690ae7c3042879208af316 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 3 Feb 2022 13:39:56 +0100 Subject: [PATCH] metrics: cleanup Signed-off-by: Wolfgang Bumiller --- proxmox-metrics/src/influxdb/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-metrics/src/influxdb/http.rs b/proxmox-metrics/src/influxdb/http.rs index c10c55d3..26c2f221 100644 --- a/proxmox-metrics/src/influxdb/http.rs +++ b/proxmox-metrics/src/influxdb/http.rs @@ -57,7 +57,7 @@ pub fn influxdb_http( rx, )?; - let join_handle = Some(tokio::spawn(async { this.finish().await })); + let join_handle = Some(tokio::spawn(this.finish())); Ok(Metrics { join_handle,