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
1 changed files with 4 additions and 0 deletions

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)