mirror of https://github.com/docker/docs.git
Fix a minor typo in daemon/container.go
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
b52a2cfdf1
commit
40dc18e2fa
|
@ -1235,7 +1235,7 @@ func (container *Container) setupLinkedContainers() ([]string, error) {
|
||||||
container.activeLinks = make(map[string]*links.Link, len(children))
|
container.activeLinks = make(map[string]*links.Link, len(children))
|
||||||
|
|
||||||
// If we encounter an error make sure that we rollback any network
|
// If we encounter an error make sure that we rollback any network
|
||||||
// config and ip table changes
|
// config and iptables changes
|
||||||
rollback := func() {
|
rollback := func() {
|
||||||
for _, link := range container.activeLinks {
|
for _, link := range container.activeLinks {
|
||||||
link.Disable()
|
link.Disable()
|
||||||
|
|
Loading…
Reference in New Issue