Merge pull request #9991 from littleidea/delete_redundant_macaddress

remove redundant 'Get' for MacAddress
Upstream-commit: a83e904611006c3039d932e0b4907ab802224c8b
Component: engine
This commit is contained in:
Jessie Frazelle
2015-01-08 18:38:44 -08:00
-1
View File
@@ -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")