mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Added missing flags for swarm-mode networks
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
e904f58e19
commit
cf78863e9d
1 changed files with 3 additions and 0 deletions
|
@ -404,6 +404,9 @@ func (c *containerConfig) networkCreateRequest(name string) (clustertypes.Networ
|
||||||
Driver: na.Network.IPAM.Driver.Name,
|
Driver: na.Network.IPAM.Driver.Name,
|
||||||
},
|
},
|
||||||
Options: na.Network.DriverState.Options,
|
Options: na.Network.DriverState.Options,
|
||||||
|
Labels: na.Network.Spec.Annotations.Labels,
|
||||||
|
Internal: na.Network.Spec.Internal,
|
||||||
|
EnableIPv6: na.Network.Spec.Ipv6Enabled,
|
||||||
CheckDuplicate: true,
|
CheckDuplicate: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue