Skip to content

Commit d9ae8ce

Browse files
committed
lint
Signed-off-by: alex boten <[email protected]>
1 parent 75bd62d commit d9ae8ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

otelconf/config_yaml.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ func (j *OpenTelemetryConfiguration) UnmarshalYAML(node *yaml.Node) error {
9696
sh.Plain.InstrumentationDevelopment = sh.InstrumentationDevelopment
9797
}
9898

99-
if sh.Plain.LogLevel == nil {
99+
if sh.LogLevel == nil {
100100
// Configure the log level of the internal logger used by the SDK.
101101
// If omitted, info is used.
102-
sh.Plain.LogLevel = ptr("info")
102+
sh.LogLevel = ptr("info")
103103
}
104104

105105
*j = OpenTelemetryConfiguration(sh.Plain)

0 commit comments

Comments
 (0)