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

Fixing incorrect resovler error message shown on daemon startup

Signed-off-by: msabansal <sabansal@microsoft.com>
This commit is contained in:
msabansal 2016-11-01 14:51:41 -07:00
parent b249e8afe0
commit 3be080496d

View file

@ -30,6 +30,10 @@ func (n *network) startResolver() {
options := n.Info().DriverOptions()
hnsid := options[windows.HNSID]
if hnsid == "" {
return
}
hnsresponse, err := hcsshim.HNSNetworkRequest("GET", hnsid, "")
if err != nil {
log.Errorf("Resolver Setup/Start failed for container %s, %q", n.Name(), err)