Skip to content

Commit

Permalink
I'm confused
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Jul 12, 2024
1 parent 85b78a2 commit 9e5ba39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kube/services/workflow-age-monitor/argo-workflow-age.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ spec:
WORKFLOW_NAME=$(echo $workflow_info | jq -r '.name')
STARTED_TIMESTAMP=$(echo $workflow_info | jq -r '.status.startedAt')
echo "Checking workflow $WORKFLOW_NAME"
if [ "$STARTED_TIMESTAMP" != "null" ]; then
echo "Workflow $WORKFLOW_NAME started at $STARTED_TIMESTAMP"
# Convert creation timestamp to Unix Epoch time
CREATION_EPOCH=$(date -d "$STARTED_TIMESTAMP" +%s)
Expand Down

0 comments on commit 9e5ba39

Please sign in to comment.