summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbin Kerouanton <albinker@gmail.com>2023-03-24 18:20:12 +0100
committerAlbin Kerouanton <albinker@gmail.com>2023-03-30 14:47:55 +0200
commit348544e6e81c7c213c153ba744e13028e9d1db89 (patch)
treecd64ca41d6575d1b6878049de76e2bb1207ecde7
parent219f21bf07502b447095649b5a2764661737f164 (diff)
downloaddocker-348544e6e81c7c213c153ba744e13028e9d1db89.tar.gz
libnet/d/windows: log EnableInternalDNS val after setting it
Signed-off-by: Albin Kerouanton <albinker@gmail.com> (cherry picked from commit bae49ff) Signed-off-by: Albin Kerouanton <albinker@gmail.com>
-rw-r--r--libnetwork/drivers/windows/windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetwork/drivers/windows/windows.go b/libnetwork/drivers/windows/windows.go
index 5a0496fded..fc856902d9 100644
--- a/libnetwork/drivers/windows/windows.go
+++ b/libnetwork/drivers/windows/windows.go
@@ -681,8 +681,8 @@ func (d *driver) CreateEndpoint(nid, eid string, ifInfo driverapi.InterfaceInfo,
}
if n.driver.name == "nat" && !epOption.DisableDNS {
- logrus.Debugf("endpointStruct.EnableInternalDNS =[%v]", endpointStruct.EnableInternalDNS)
endpointStruct.EnableInternalDNS = true
+ logrus.Debugf("endpointStruct.EnableInternalDNS =[%v]", endpointStruct.EnableInternalDNS)
}
endpointStruct.DisableICC = epOption.DisableICC