From a56d50a89b33291cba416b4e7aa662109d992ddf Mon Sep 17 00:00:00 2001 From: Kieren Davies Date: Thu, 16 Mar 2023 15:28:50 +0100 Subject: [PATCH] Alias stats `id` field as `Id`, for Podman compatibility --- src/container.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/container.rs b/src/container.rs index cc4655c7..ccd88951 100644 --- a/src/container.rs +++ b/src/container.rs @@ -772,6 +772,7 @@ pub struct Stats { pub precpu_stats: CPUStats, pub storage_stats: StorageStats, pub name: String, + #[serde(alias = "Id")] pub id: String, }