Skip to content

Commit

Permalink
[chore] reuse constant for StrptimeKey (open-telemetry#32193)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored and rimitchell committed May 8, 2024
1 parent b6e3420 commit e756b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/operator/helper/time.go
Expand Up @@ -31,7 +31,7 @@ const NativeKey = "native" // provided for operator development
// NewTimeParser creates a new time parser with default values
func NewTimeParser() TimeParser {
return TimeParser{
LayoutType: "strptime",
LayoutType: StrptimeKey,
}
}

Expand Down

0 comments on commit e756b66

Please sign in to comment.