Skip to content

Commit 8f17a0e

Browse files
remove redundant ?? string.Empty in GetSampler (#6078)
Co-authored-by: Rajkumar Rangaraj <[email protected]>
1 parent 41e1a59 commit 8f17a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenTelemetry/Trace/TracerProviderSdk.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ private static Sampler GetSampler(IConfiguration configuration, Sampler? stateSa
440440
}
441441

442442
default:
443-
OpenTelemetrySdkEventSource.Log.TracesSamplerConfigInvalid(configValue ?? string.Empty);
443+
OpenTelemetrySdkEventSource.Log.TracesSamplerConfigInvalid(configValue);
444444
break;
445445
}
446446

0 commit comments

Comments
 (0)