diff options
author | Pit <pitkley@googlemail.com> | 2019-10-14 00:06:32 +0200 |
---|---|---|
committer | Doug Tangren <d.tangren@gmail.com> | 2019-10-13 18:06:32 -0400 |
commit | 1d6c11f12b2b24e1be67476989dc22c4e4935351 (patch) | |
tree | 05969e8954ba0b1119937c3829d12c5f8e6c3add | |
parent | 027e83c3b0c3d2085c1eb2c7e3697bee2c1498a3 (diff) |
Correctly rename `endpoint_id` field (#196)
The `endpoint_id` field is stylized as `EndpointID` in the Docker API
when returning container-details for a network ([1]).
[1]: https://docs.docker.com/engine/api/v1.24/#35-networks
-rw-r--r-- | src/rep.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -283,6 +283,7 @@ pub struct NetworkDetails { #[derive(Clone, Debug, Serialize, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct NetworkContainerDetails { + #[serde(rename = "EndpointID")] pub endpoint_id: String, pub mac_address: String, #[serde(rename = "IPv4Address")] |