Skip to content

Commit

Permalink
Alias stats id field as Id, for Podman compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kierendavies committed Mar 17, 2023
1 parent 7b9673c commit a56d50a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ pub struct Stats {
pub precpu_stats: CPUStats,
pub storage_stats: StorageStats,
pub name: String,
#[serde(alias = "Id")]
pub id: String,
}

Expand Down

0 comments on commit a56d50a

Please sign in to comment.