Skip to content

Commit

Permalink
[chore] reuse constant for StrptimeKey (#32193)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Apr 7, 2024
1 parent 191c2c9 commit 25e300a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/operator/helper/time.go
Original file line number Diff line number Diff line change
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 25e300a

Please sign in to comment.