Skip to content

Commit b812d25

Browse files
committed
float to int
1 parent c7c09ea commit b812d25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/check/checkKubernetes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ def on_pod(item) -> dict:
138138
last_state['last_state_reason'] = ls.reason
139139
last_state['last_state_exit_code'] = ls.exit_code
140140
last_state['last_state_started_at'] = \
141-
ls.started_at.timestamp()
141+
int(ls.started_at.timestamp())
142142
last_state['last_state_finished_at'] = \
143-
ls.finished_at.timestamp()
143+
int(ls.finished_at.timestamp())
144144

145145
restarts += cs.restart_count
146146
terminated = cs.state.terminated

lib/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.2.0-alpha1'
1+
__version__ = '3.2.0-alpha2'

0 commit comments

Comments
 (0)