Browse Source

Ignore failure to save hns endpoint to store

Signed-off-by: Sandeep Bansal <sabansal@microsoft.com>
Sandeep Bansal 7 năm trước cách đây
mục cha
commit
8b400916ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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