Skip to content

Commit

Permalink
float to int
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Sep 25, 2024
1 parent c7c09ea commit b812d25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/check/checkKubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.2.0-alpha1'
__version__ = '3.2.0-alpha2'

0 comments on commit b812d25

Please sign in to comment.