summaryrefslogtreecommitdiffstats
path: root/src/network.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.rs')
-rw-r--r--src/network.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.rs b/src/network.rs
index bafcd51..c12cba9 100644
--- a/src/network.rs
+++ b/src/network.rs
@@ -365,7 +365,7 @@ pub struct NetworkInfo {
#[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
-pub struct IPAM {
+pub struct Ipam {
pub driver: String,
pub config: Vec<HashMap<String, String>>,
pub options: Option<HashMap<String, String>>,
@@ -381,7 +381,7 @@ pub struct NetworkDetails {
#[serde(rename = "EnableIPv6")]
pub enable_ipv6: bool,
#[serde(rename = "IPAM")]
- pub ipam: IPAM,
+ pub ipam: Ipam,
pub internal: bool,
pub attachable: bool,
pub containers: HashMap<String, NetworkContainerDetails>,