From 3b8c0a4f6d9ae9efc110bd4f9a0c089df2e9d812 Mon Sep 17 00:00:00 2001 From: Maksim Ryndin Date: Tue, 21 May 2024 11:16:00 +0000 Subject: [PATCH] 0.1.6 --- src/services/system/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/system/collector.rs b/src/services/system/collector.rs index e6df4cc..2f436b1 100644 --- a/src/services/system/collector.rs +++ b/src/services/system/collector.rs @@ -144,7 +144,7 @@ fn process_to_values(process: &ProcessInfo, users: &Users) -> Vec<(String, Datav vec![ ( "pid".to_string(), - Datavalue::IntegerID(u32::from(process.pid.as_u32())), + Datavalue::IntegerID(process.pid.as_u32()), ), ( "name".to_string(),