Skip to content

Commit

Permalink
Fix compilation errors by code review after resolving conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
raman-m committed Aug 2, 2023
1 parent 220ff06 commit db2ff9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Ocelot/Configuration/Builder/DownstreamRouteBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class DownstreamRouteBuilder
private List<ClaimToThing> _claimsToHeaders;
private List<ClaimToThing> _claimToClaims;
private Dictionary<string, string> _routeClaimRequirement;
private bool _isAuthorised;
private bool _isAuthorized;
private List<ClaimToThing> _claimToQueries;
private List<ClaimToThing> _claimToDownstreamPath;
private string _requestIdHeaderKey;
Expand Down Expand Up @@ -102,9 +102,9 @@ public DownstreamRouteBuilder WithIsAuthenticated(bool input)
return this;
}

public DownstreamRouteBuilder WithIsAuthorised(bool input)
public DownstreamRouteBuilder WithIsAuthorized(bool input)
{
_isAuthorised = input;
_isAuthorized = input;
return this;
}

Expand Down Expand Up @@ -296,7 +296,7 @@ public DownstreamRoute Build()
_claimToClaims,
_claimToDownstreamPath,
_isAuthenticated,
_isAuthorised,
_isAuthorized,
_authenticationOptions,
new DownstreamPathTemplate(_downstreamPathTemplate),
_loadBalancerKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Ocelot.Configuration;
using Ocelot.Configuration.Builder;
using Ocelot.Configuration.Creator;
using Ocelot.DownstreamRouteFinder.Finder;
using Ocelot.DownstreamRouteFinder.HeaderMatcher;
using Ocelot.DownstreamRouteFinder.UrlMatcher;
using Ocelot.Logging;
Expand All @@ -15,6 +14,8 @@

namespace Ocelot.UnitTests.DownstreamRouteFinder
{
using Ocelot.DownstreamRouteFinder.Finder;

public class DownstreamRouteProviderFactoryTests
{
private readonly DownstreamRouteProviderFactory _factory;
Expand Down

0 comments on commit db2ff9f

Please sign in to comment.