From 7830e6f76013a434021cdb635f65542ee91e8793 Mon Sep 17 00:00:00 2001 From: Kieren Davies Date: Thu, 16 Mar 2023 15:28:50 +0100 Subject: [PATCH] Look for `Id` field instead of `id` when deserializing stats This is needed for compatibility with Podman. --- src/container.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/container.rs b/src/container.rs index cc4655c7..770ea988 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(rename = "Id")] pub id: String, }