mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #11075 from coolljt0725/fix_minor_typo
Fix a minor typo in daemon/container.go
This commit is contained in:
commit
1dddf8a9a6
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))
|
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 a new issue