File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ func (h *JSONHandler) UnmarshalJSON(data []byte) bool {
75
75
return false
76
76
}
77
77
78
- checkEachUntilFound (supportedLevelFields , func (field string ) bool {
78
+ checkEachUntilFound (supportedTimeFields , func (field string ) bool {
79
79
time , ok := tryParseTime (raw [field ])
80
80
if ok {
81
81
h .Time = time
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ func (h *LogfmtHandler) UnmarshalLogfmt(data []byte) bool {
62
62
key := dec .Key ()
63
63
val := dec .Value ()
64
64
if h .Time .IsZero () {
65
- foundTime := checkEachUntilFound (supportedLevelFields , func (field string ) bool {
65
+ foundTime := checkEachUntilFound (supportedTimeFields , func (field string ) bool {
66
66
time , ok := tryParseTime (string (val ))
67
67
if ok {
68
68
h .Time = time
You can’t perform that action at this time.
0 commit comments