Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: f8f26a52de8ee722bce57a635a42c1f89e67dccb
https://github.com/tribe29/checkmk/commit/f8f26a52de8ee722bce57a635a42c1f89…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
A .werks/13341
M cmk/special_agents/utils_kubernetes/transform.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kube_api_cronjobs.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_api_nodes.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_api_pods.py
A tests/unit/cmk/special_agents/utils_kubernetes/test_transform.py
Log Message:
-----------
13341 FIX KUBE: Conversion of timestamps
Previously, when converting a timestamp from the Kubernetes client, the UTC format
would not be taken into account properly. We now use the builtin timestamp method
provided by the datetime package.
Change-Id: Ie2f8accf1eda0328aa03a34a45303143693a574b
Co-Authored-By: Benedikt Seidl <benedikt.seidl(a)tribe29.com>