Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork: Endpoint.AddStaticRoute don't create StaticRoute if unused
This function either had to create a new StaticRoute, or add the destination to the list of routes. Skip creating a StaticRoute struct if we're not gonna use it. Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information