From 85a5cd89639288b7ff055fd4342a669b9419d82a Mon Sep 17 00:00:00 2001 From: paschdan Date: Thu, 6 May 2021 22:13:26 +0200 Subject: [PATCH] fix: update yq usage for yq@4 --- simulation-scripts/perturb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulation-scripts/perturb.sh b/simulation-scripts/perturb.sh index d593acd4..e629fef6 100755 --- a/simulation-scripts/perturb.sh +++ b/simulation-scripts/perturb.sh @@ -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