From 622ea4b6673cde945dbd0299d3d6acdeef66f6d5 Mon Sep 17 00:00:00 2001 From: martincostello Date: Fri, 3 Feb 2023 15:36:24 +0000 Subject: [PATCH] [Instrumentation.EntityFrameworkCore] Fix analysis warning Fix code analysis warning in OpenTelemetry.Instrumentation.EntityFrameworkCore. Contributes to #950. --- .../EntityFrameworkInstrumentationOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/EntityFrameworkInstrumentationOptions.cs b/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/EntityFrameworkInstrumentationOptions.cs index 597b05a04b..722221306f 100644 --- a/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/EntityFrameworkInstrumentationOptions.cs +++ b/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/EntityFrameworkInstrumentationOptions.cs @@ -34,7 +34,7 @@ public class EntityFrameworkInstrumentationOptions /// /// Gets or sets a value indicating whether or not the should add the text of commands as the tag. Default value: False. /// - public bool SetDbStatementForText { get; set; } = false; + public bool SetDbStatementForText { get; set; } /// /// Gets or sets an action to enrich an Activity from the db command.