Skip to content

Commit 496228b

Browse files
committed
Fix build issues
1 parent 511c8cb commit 496228b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static THeaders GetHeaders<THeaders>(this OtlpExporterOptions options, Ac
6767
if (commaIndex == -1)
6868
{
6969
pair = headersSpan;
70-
headersSpan = ReadOnlySpan<char>.Empty;
70+
headersSpan = [];
7171
}
7272
else
7373
{
@@ -86,6 +86,7 @@ public static THeaders GetHeaders<THeaders>(this OtlpExporterOptions options, Ac
8686
addHeader(headers, key, value);
8787
}
8888
}
89+
8990
foreach (var header in OtlpExporterOptions.StandardHeaders)
9091
{
9192
addHeader(headers, header.Key, header.Value);

0 commit comments

Comments
 (0)