mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
remove redundant 'Get' for MacAddress
remove second redundant call to set MacAddress from env Signed-off-by: Andrew Clay Shafer <andrewcshafer@gmail.com>
This commit is contained in:
parent
645a752f17
commit
fa8560e385
1 changed files with 0 additions and 1 deletions
|
@ -544,7 +544,6 @@ func (container *Container) AllocateNetwork() error {
|
||||||
container.NetworkSettings.IPPrefixLen = env.GetInt("IPPrefixLen")
|
container.NetworkSettings.IPPrefixLen = env.GetInt("IPPrefixLen")
|
||||||
container.NetworkSettings.MacAddress = env.Get("MacAddress")
|
container.NetworkSettings.MacAddress = env.Get("MacAddress")
|
||||||
container.NetworkSettings.Gateway = env.Get("Gateway")
|
container.NetworkSettings.Gateway = env.Get("Gateway")
|
||||||
container.NetworkSettings.MacAddress = env.Get("MacAddress")
|
|
||||||
container.NetworkSettings.LinkLocalIPv6Address = env.Get("LinkLocalIPv6")
|
container.NetworkSettings.LinkLocalIPv6Address = env.Get("LinkLocalIPv6")
|
||||||
container.NetworkSettings.LinkLocalIPv6PrefixLen = 64
|
container.NetworkSettings.LinkLocalIPv6PrefixLen = 64
|
||||||
container.NetworkSettings.GlobalIPv6Address = env.Get("GlobalIPv6")
|
container.NetworkSettings.GlobalIPv6Address = env.Get("GlobalIPv6")
|
||||||
|
|
Loading…
Reference in a new issue