From 9ea933076466e14f20e3b1ecfbfb2cdb616d5101 Mon Sep 17 00:00:00 2001 From: Omotola Akeredolu Date: Wed, 27 Sep 2023 21:48:18 -0700 Subject: [PATCH] Added comment --- .../Extensions/ServiceCollectionExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs index e2ca5a092..8c726ea07 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs @@ -143,6 +143,8 @@ public static IServiceCollection AddComponentDetection(this IServiceCollection s // HttpClient services.AddHttpClient(); + + // Remove the default logging for http client services.RemoveAll(); return services;