From 1781cbba5c2e6e2182a18e8c4243cd1e6f0cb4cb Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 14 Aug 2024 16:44:46 +0900 Subject: [PATCH] in_kubernetes_events: Use time_t for time(NULL) returned value (CID 507947) Signed-off-by: Hiroshi Hatake --- plugins/in_kubernetes_events/kubernetes_events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/in_kubernetes_events/kubernetes_events.h b/plugins/in_kubernetes_events/kubernetes_events.h index 734b63a2afb..1309406349f 100644 --- a/plugins/in_kubernetes_events/kubernetes_events.h +++ b/plugins/in_kubernetes_events/kubernetes_events.h @@ -61,7 +61,7 @@ struct k8s_events { char *token; int token_ttl; size_t token_len; - int token_created; + time_t token_created; /* Pre-formatted HTTP Authorization header value */ char *auth;