libnetwork/drivers/overlay/ov_endpoint.go
Method driver.CreateEndpoint
has 7 return statements (exceeds 4 allowed). Open
Open
func (d *driver) CreateEndpoint(_ context.Context, nid, eid string, ifInfo driverapi.InterfaceInfo, epOptions map[string]interface{}) error {
var err error
if err = validateID(nid, eid); err != nil {
return err
}
Method driver.DeleteEndpoint
has 6 return statements (exceeds 4 allowed). Open
Open
func (d *driver) DeleteEndpoint(nid, eid string) error {
nlh := ns.NlHandle()
if err := validateID(nid, eid); err != nil {
return err