mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-08-27 19:26:42 +00:00
Fixing a few go-vet issues
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
@@ -159,7 +159,7 @@ func (te *testEndpoint) SetResolvConfPath(path string) error {
|
||||
}
|
||||
|
||||
func (te *testEndpoint) AddStaticRoute(destination *net.IPNet, routeType int, nextHop net.IP, interfaceID int) error {
|
||||
te.routes = append(te.routes, types.StaticRoute{destination, routeType, nextHop, interfaceID})
|
||||
te.routes = append(te.routes, types.StaticRoute{Destination: destination, RouteType: routeType, NextHop: nextHop, InterfaceID: interfaceID})
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user