Remove Ocelot specific Middleware to make Ocelot more compatible with kestrel middleware and get ready for YARP

This commit is contained in:
Tom Pallister
2020-05-23 15:48:51 +01:00
committed by GitHub
parent 99a15d8668
commit fe3e8bd23a
214 changed files with 9574 additions and 9919 deletions

View File

@ -1,15 +1,15 @@
using Ocelot.Errors;
namespace Ocelot.UnitTests.Responder
{
internal class AnyError : Error
{
public AnyError() : base("blahh", OcelotErrorCode.UnknownError)
{
}
public AnyError(OcelotErrorCode errorCode) : base("blah", errorCode)
{
}
}
using Ocelot.Errors;
namespace Ocelot.UnitTests.Responder
{
internal class AnyError : Error
{
public AnyError() : base("blahh", OcelotErrorCode.UnknownError, 404)
{
}
public AnyError(OcelotErrorCode errorCode) : base("blah", errorCode, 404)
{
}
}
}