1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix resolvconf logic

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-04-14 06:58:04 +00:00
parent 71b241cbfe
commit 35a88f2c29

View file

@ -1007,7 +1007,7 @@ func (container *Container) DisableLink(name string) {
}
func (container *Container) setupContainerDns() error {
if container.ResolvConfPath == "" {
if container.ResolvConfPath != "" {
return nil
}
var (