From b812d25fdd6b50a48199726a3ae8cd5fc09e1b8e Mon Sep 17 00:00:00 2001 From: Jeroen van der Heijden Date: Wed, 25 Sep 2024 16:27:24 +0200 Subject: [PATCH] float to int --- lib/check/checkKubernetes.py | 4 ++-- lib/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/check/checkKubernetes.py b/lib/check/checkKubernetes.py index d188f07..eac4432 100644 --- a/lib/check/checkKubernetes.py +++ b/lib/check/checkKubernetes.py @@ -138,9 +138,9 @@ def on_pod(item) -> dict: last_state['last_state_reason'] = ls.reason last_state['last_state_exit_code'] = ls.exit_code last_state['last_state_started_at'] = \ - ls.started_at.timestamp() + int(ls.started_at.timestamp()) last_state['last_state_finished_at'] = \ - ls.finished_at.timestamp() + int(ls.finished_at.timestamp()) restarts += cs.restart_count terminated = cs.state.terminated diff --git a/lib/version.py b/lib/version.py index fe004aa..bebb761 100644 --- a/lib/version.py +++ b/lib/version.py @@ -1 +1 @@ -__version__ = '3.2.0-alpha1' +__version__ = '3.2.0-alpha2'