Skip to content

Commit

Permalink
in_kubernetes_events: adjust to updated parser API for system timezone
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
braydonk authored and edsiper committed Jun 25, 2024
1 parent e108034 commit 9bcf925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_kubernetes_events/kubernetes_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ static int record_get_field_time(msgpack_object *obj, const char *fieldname, str
return -2;
}

val->tm.tv_sec = flb_parser_tm2time(&tm);
val->tm.tv_sec = flb_parser_tm2time(&tm, FLB_FALSE);
val->tm.tv_nsec = 0;

return 0;
Expand Down

0 comments on commit 9bcf925

Please sign in to comment.