mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
broke up EnvironmentProvider into different services
This commit is contained in:
parent
4d874829e8
commit
6b0a24e28e
54 changed files with 549 additions and 560 deletions
|
@ -7,6 +7,7 @@ using NLog.Common;
|
|||
using NLog.Config;
|
||||
using NLog.Layouts;
|
||||
using NLog.Targets;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
|
||||
namespace NzbDrone.Common.Instrumentation
|
||||
{
|
||||
|
@ -43,12 +44,12 @@ namespace NzbDrone.Common.Instrumentation
|
|||
IncludeMachineName = true,
|
||||
};
|
||||
|
||||
if (EnvironmentProvider.IsProduction)
|
||||
if (RuntimeInfo.IsProduction)
|
||||
{
|
||||
config.ApiKey = "cc4728a35aa9414f9a0baa8eed56bc67";
|
||||
}
|
||||
|
||||
ExceptronClient = new ExceptronClient(config, new EnvironmentProvider().Version);
|
||||
ExceptronClient = new ExceptronClient(config, BuildInfo.Version);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue