File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1107,7 +1107,7 @@ type InspectBasicNetworkConfig struct {
1107
1107
IPPrefixLen int `json:"IPPrefixLen"`
1108
1108
// SecondaryIPAddresses is a list of extra IP Addresses that the
1109
1109
// container has been assigned in this network.
1110
- SecondaryIPAddresses []string `json:"SecondaryIPAddresses,omitempty"`
1110
+ SecondaryIPAddresses []SecondaryIPAddresses `json:"SecondaryIPAddresses,omitempty"`
1111
1111
// IPv6Gateway is the IPv6 gateway this network will use.
1112
1112
IPv6Gateway string `json:"IPv6Gateway"`
1113
1113
// GlobalIPv6Address is the global-scope IPv6 Address for this network.
@@ -1165,6 +1165,11 @@ type InspectNetworkSettings struct {
1165
1165
Networks map [string ]* InspectAdditionalNetwork `json:"Networks,omitempty"`
1166
1166
}
1167
1167
1168
+ type SecondaryIPAddresses struct {
1169
+ Addr string `json:"Addr"`
1170
+ PrefixLength int `json:"PrefixLength"`
1171
+ }
1172
+
1168
1173
// InspectContainerData provides a detailed record of a container's configuration
1169
1174
// and state as viewed by Libpod.
1170
1175
// Large portions of this structure are defined such that the output is
You can’t perform that action at this time.
0 commit comments