Skip to content

Commit

Permalink
dotnet 8.0 runtime fix (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Nov 21, 2023
1 parent 39b42be commit e3e3265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Runner.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public Task StopAsync(CancellationToken cancellationToken)
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddHttpLogging(logging => {}); // dotnet 8.0 breaking See https://github.com/dotnet/aspnetcore/issues/51322
services.TryAddSingleton<IPolicyEvaluator, AgentAuthenticationPolicyEvaluator>();

services.AddControllers(options => {
Expand Down

0 comments on commit e3e3265

Please sign in to comment.