metrics: cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-02-03 13:39:56 +01:00
parent 48e047cefc
commit 138f32e360

View File

@ -57,7 +57,7 @@ pub fn influxdb_http(
rx, rx,
)?; )?;
let join_handle = Some(tokio::spawn(async { this.finish().await })); let join_handle = Some(tokio::spawn(this.finish()));
Ok(Metrics { Ok(Metrics {
join_handle, join_handle,