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
1 changed files with 1 additions and 1 deletions
|
@ -1235,7 +1235,7 @@ func (container *Container) setupLinkedContainers() ([]string, error) {
|
|||
container.activeLinks = make(map[string]*links.Link, len(children))
|
||||
|
||||
// If we encounter an error make sure that we rollback any network
|
||||
// config and ip table changes
|
||||
// config and iptables changes
|
||||
rollback := func() {
|
||||
for _, link := range container.activeLinks {
|
||||
link.Disable()
|
||||
|
|
Loading…
Add table
Reference in a new issue