From 63c5a727b882806ac5c2506e0bd2ccf0403afb7e Mon Sep 17 00:00:00 2001 From: Tortue Torche Date: Sat, 10 Aug 2019 21:37:55 -0400 Subject: [PATCH] Remove commented code --- psu | 1 - 1 file changed, 1 deletion(-) mode change 100644 => 100755 psu diff --git a/psu b/psu old mode 100644 new mode 100755 index 99dd94c..b49c783 --- a/psu +++ b/psu @@ -954,7 +954,6 @@ tasks() { filter_include_job_auto_detection=$(if [ "$AUTO_DETECT_JOB" == "true" ]; then echo 'map(select(any(.Spec.RestartPolicy; .Condition == "none")))'; else echo 'map(select(.Spec.ContainerSpec.Labels."job-name"))'; fi) # For tasks which run a script then shutdown when it's successfully executed, like 'Job' in Kubernetes local last_task_created_at - # last_task_created_at=$(tasks | jq -jc "$filter_include_job_auto_detection | max_by(.CreatedAt) | select(.CreatedAt) | .CreatedAt") last_task_created_at=$(tasks | jq -jc "max_by(.CreatedAt) | .CreatedAt") local filter_created_at filter_created_at="map(select(.CreatedAt >= \"$last_task_created_at\"))"