зеркало из https://github.com/microsoft/docker.git
Fix firewalld callback.
It needs to be called with same args as the one 4 lines above. Signed-off-by: Jiri Popelka <jpopelka@redhat.com>
This commit is contained in:
Родитель
443437f5ea
Коммит
6e8cfd63fc
|
@ -145,7 +145,7 @@ func (l *Link) Enable() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// call this on Firewalld reload
|
// call this on Firewalld reload
|
||||||
iptables.OnReloaded(func() { l.toggle("-I", false) })
|
iptables.OnReloaded(func() { l.toggle("-A", false) })
|
||||||
l.IsEnabled = true
|
l.IsEnabled = true
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче