Skip to content

Commit 7940c31

Browse files
committed
Fix more usages
1 parent 98e65f4 commit 7940c31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracer/src/Datadog.Trace.BenchmarkDotNet/DatadogDiagnoser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,12 @@ private static void SetEnvironmentVariables(DiagnoserActionParameters parameters
216216

217217
if (!environment.TryGetValue(ConfigurationKeys.Environment, out _))
218218
{
219-
environment[ConfigurationKeys.Environment] = tracer.Settings.Environment;
219+
environment[ConfigurationKeys.Environment] = tracer.CurrentTraceSettings.Settings.Environment;
220220
}
221221

222222
if (!environment.TryGetValue(ConfigurationKeys.ServiceVersion, out _))
223223
{
224-
environment[ConfigurationKeys.ServiceVersion] = tracer.Settings.ServiceVersion;
224+
environment[ConfigurationKeys.ServiceVersion] = tracer.CurrentTraceSettings.Settings.ServiceVersion;
225225
}
226226

227227
const string ProfilerId = "{846F5F1C-F9AE-4B07-969E-05C26BC060D8}";

0 commit comments

Comments
 (0)