From 9bcf925424687d740a543897f1ac22c7234a8cef Mon Sep 17 00:00:00 2001 From: Braydon Kains Date: Mon, 24 Jun 2024 13:27:04 -0600 Subject: [PATCH] in_kubernetes_events: adjust to updated parser API for system timezone Signed-off-by: Eduardo Silva --- plugins/in_kubernetes_events/kubernetes_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/in_kubernetes_events/kubernetes_events.c b/plugins/in_kubernetes_events/kubernetes_events.c index 276ec42c2f1..38b2edff822 100644 --- a/plugins/in_kubernetes_events/kubernetes_events.c +++ b/plugins/in_kubernetes_events/kubernetes_events.c @@ -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;