Ensure pipelines with dots in names can be referenced

This commit is contained in:
weslambert authored and GitHub committed 2020-10-08 15:41:17 -04:00
1 parent f41987024f
commit 06706d29f2
1 file changed
+1 -1
@@ -21,5 +21,5 @@
if [ "$1" == "" ]; then
curl -s {{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines"
else
curl -s {{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines.$1"
curl -s {{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines.\"$1\""
fi