Skip to content

Commit b91e974

Browse files
committed
fix(scripts): correct jq JSON path selector in delete_demo_actors
Update the actor listing query in `hack/install-ate.sh` to extract `metadata.atespace` and `metadata.name` instead of the legacy root fields `atespace` and `actorId`. `metadata` was introduced in af1f005
1 parent 354ca16 commit b91e974

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/install-ate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ delete_demo_actors() {
465465
run_kubectl_ate delete actor "${actor_id}" -a "${atespace}"
466466
done < <(
467467
jq -r --arg ns "${ns}" --arg tmpl "${tmpl}" \
468-
'.actors[]? | select(.actorTemplateNamespace == $ns and .actorTemplateName == $tmpl) | "\(.atespace)\t\(.actorId)"' \
468+
'.actors[]? | select(.actorTemplateNamespace == $ns and .actorTemplateName == $tmpl) | "\(.metadata.atespace)\t\(.metadata.name)"' \
469469
<<<"${actors_json}"
470470
)
471471
done

0 commit comments

Comments
 (0)