remove redundant 'Get' for MacAddress
remove second redundant call to set MacAddress from env Signed-off-by: Andrew Clay Shafer <andrewcshafer@gmail.com> Upstream-commit: fa8560e3859037e7f5a7e2b37fedd91c7f6d0cf9 Component: engine
This commit is contained in:
@@ -544,7 +544,6 @@ func (container *Container) AllocateNetwork() error {
|
||||
container.NetworkSettings.IPPrefixLen = env.GetInt("IPPrefixLen")
|
||||
container.NetworkSettings.MacAddress = env.Get("MacAddress")
|
||||
container.NetworkSettings.Gateway = env.Get("Gateway")
|
||||
container.NetworkSettings.MacAddress = env.Get("MacAddress")
|
||||
container.NetworkSettings.LinkLocalIPv6Address = env.Get("LinkLocalIPv6")
|
||||
container.NetworkSettings.LinkLocalIPv6PrefixLen = 64
|
||||
container.NetworkSettings.GlobalIPv6Address = env.Get("GlobalIPv6")
|
||||
|
||||
Reference in New Issue
Block a user