Skip to content

Commit dec8d51

Browse files
committed
resurrect the internal constructor removed in bdc556e
it was used in tests
1 parent 68fb8a5 commit dec8d51

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,14 @@ public class OtlpExporterOptions : IOtlpExporterOptions
4848
/// Initializes a new instance of the <see cref="OtlpExporterOptions"/> class.
4949
/// </summary>
5050
public OtlpExporterOptions()
51+
: this(configurationType: OtlpExporterOptionsConfigurationType.Default)
52+
{
53+
}
54+
55+
internal OtlpExporterOptions(OtlpExporterOptionsConfigurationType configurationType)
5156
: this(
5257
configuration: null,
53-
configurationType: OtlpExporterOptionsConfigurationType.Default,
58+
configurationType: configurationType,
5459
defaultBatchOptions: new())
5560
{
5661
}

0 commit comments

Comments
 (0)