removed dep we dont need in dsrfm (#636)

This commit is contained in:
Tom Pallister
2018-09-25 20:33:31 +01:00
committed by GitHub
parent dc28d49bda
commit 2d834037e4
2 changed files with 1 additions and 6 deletions

View File

@ -13,17 +13,14 @@ namespace Ocelot.DownstreamRouteFinder.Middleware
{
private readonly OcelotRequestDelegate _next;
private readonly IDownstreamRouteProviderFactory _factory;
private readonly IInternalConfigurationRepository _repo;
private readonly IMultiplexer _multiplexer;
public DownstreamRouteFinderMiddleware(OcelotRequestDelegate next,
IOcelotLoggerFactory loggerFactory,
IDownstreamRouteProviderFactory downstreamRouteFinder,
IInternalConfigurationRepository repo,
IMultiplexer multiplexer)
:base(loggerFactory.CreateLogger<DownstreamRouteFinderMiddleware>())
{
_repo = repo;
_multiplexer = multiplexer;
_next = next;
_factory = downstreamRouteFinder;