Skip to content

Commit e490141

Browse files
committed
Fixup indents
1 parent 65e0744 commit e490141

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs

-5
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,23 @@ public static THeaders GetHeaders<THeaders>(this OtlpExporterOptions options, Ac
7474
pair = headersSpan.Slice(0, commaIndex);
7575
headersSpan = headersSpan.Slice(commaIndex + 1);
7676
}
77-
7877
int equalIndex = pair.IndexOf('=');
7978
if (equalIndex == -1)
8079
{
8180
throw new ArgumentException("Headers provided in an invalid format.");
8281
}
83-
8482
var key = pair.Slice(0, equalIndex).ToString().Trim();
8583
var value = pair.Slice(equalIndex + 1).ToString().Trim();
8684
addHeader(headers, key, value);
8785
}
8886
}
89-
9087
foreach (var header in OtlpExporterOptions.StandardHeaders)
9188
{
9289
addHeader(headers, header.Key, header.Value);
9390
}
94-
9591
return headers;
9692
}
9793

98-
9994
public static OtlpExporterTransmissionHandler GetExportTransmissionHandler(this OtlpExporterOptions options, ExperimentalOptions experimentalOptions, OtlpSignalType otlpSignalType)
10095
{
10196
var exportClient = GetExportClient(options, otlpSignalType);

0 commit comments

Comments
 (0)