Skip to content

Commit 4e48a13

Browse files
authored
add yaml tag for EndpointIPAMConfig, fix #967 (#968)
1 parent 7722dd6 commit 4e48a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

network.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ type EndpointConfig struct {
246246
//
247247
// See https://goo.gl/RV7BJU for more details.
248248
type EndpointIPAMConfig struct {
249-
IPv4Address string `json:",omitempty"`
250-
IPv6Address string `json:",omitempty"`
249+
IPv4Address string `json:",omitempty" yaml:"IPv4Address,omitempty"`
250+
IPv6Address string `json:",omitempty" yaml:"IPv6Address,omitempty"`
251251
}
252252

253253
// ConnectNetwork adds a container to a network or returns an error in case of

0 commit comments

Comments
 (0)