Skip to content

Commit

Permalink
add yaml tag for EndpointIPAMConfig, fix #967 (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
imkos authored Mar 9, 2023
1 parent 7722dd6 commit 4e48a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ type EndpointConfig struct {
//
// See https://goo.gl/RV7BJU for more details.
type EndpointIPAMConfig struct {
IPv4Address string `json:",omitempty"`
IPv6Address string `json:",omitempty"`
IPv4Address string `json:",omitempty" yaml:"IPv4Address,omitempty"`
IPv6Address string `json:",omitempty" yaml:"IPv6Address,omitempty"`
}

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

0 comments on commit 4e48a13

Please sign in to comment.