Explorar el Código

Ignore failure to save hns endpoint to store

Signed-off-by: Sandeep Bansal <sabansal@microsoft.com>
Sandeep Bansal hace 7 años
padre
commit
8b400916ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libnetwork/drivers/windows/windows.go

+ 1 - 1
libnetwork/drivers/windows/windows.go

@@ -639,7 +639,7 @@ func (d *driver) CreateEndpoint(nid, eid string, ifInfo driverapi.InterfaceInfo,
 	}
 
 	if err = d.storeUpdate(endpoint); err != nil {
-		return fmt.Errorf("failed to save endpoint %s to store: %v", endpoint.id[0:7], err)
+		logrus.Errorf("Failed to save endpoint %s to store: %v", endpoint.id[0:7], err)
 	}
 
 	return nil