don't register config with DI until/if it's needed

This commit is contained in:
Collin M. Barrett 2019-06-28 22:14:40 -05:00
parent ba71d2f515
commit 67d994a8be

View file

@ -32,7 +32,6 @@ private static void RegisterServices()
var serviceCollection = new ServiceCollection();
// register Agent services
//serviceCollection.AddSingleton(configuration);
serviceCollection.AddLogging(b =>
{
b.AddConsole();