diff --git a/harmony/src/modules/inventory/mod.rs b/harmony/src/modules/inventory/mod.rs index 335e82f..fe7f141 100644 --- a/harmony/src/modules/inventory/mod.rs +++ b/harmony/src/modules/inventory/mod.rs @@ -1,6 +1,3 @@ -use std::sync::Arc; -use tokio::time::Duration; - use async_trait::async_trait; use harmony_inventory_agent::local_presence::DiscoveryEvent; use log::{debug, info, trace}; @@ -68,10 +65,8 @@ impl Interpret for DiscoverInventoryAgentInterpret { let address = address.to_string(); let port = service.get_port(); - info!("Getting host inventory on service at {address} port {port}"); - tokio::task::spawn(async move { - info!("Getting inventory for host {address} {port}"); + info!("Getting inventory for host {address} at port {port}"); let host = harmony_inventory_agent::client::get_host_inventory(&address, port) .await