Skip to content

Commit

Permalink
fix: update yq usage for yq@4
Browse files Browse the repository at this point in the history
  • Loading branch information
paschdan committed May 6, 2021
1 parent e0b929d commit 85a5cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulation-scripts/perturb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ template_tasks() {
local pod_name
local POD_NAME
local POD_RESULT
tasks_json=$(yq r -j tasks.yaml)
tasks_json=$(yq eval -j tasks.yaml)
cp tasks.yaml "${tmptasks}"
POD_NAME=$(echo "${tasks_json}" | jq -r '.tasks[].startingPoint.podName | select (.!=null)')
for pod_name in $POD_NAME; do
Expand Down

0 comments on commit 85a5cd8

Please sign in to comment.