Fix for time scenario (#490)

This commit is contained in:
Sahil Shah
2023-09-14 12:36:08 -04:00
committed by GitHub
parent f6f686e8fe
commit 0ad4c11356
+1 -1
View File
@@ -65,7 +65,7 @@ def get_container_name(pod_name, namespace, kubecli:KrknKubernetes, container_na
# krkn_lib
def skew_time(scenario, kubecli:KrknKubernetes):
skew_command = "date --set "
skew_command = "date --date "
if scenario["action"] == "skew_date":
skewed_date = "00-01-01"
skew_command += skewed_date