Fix output so that it can be redirected to local file with appropriate syntax

This commit is contained in:
weslambert
2021-06-23 09:17:37 -04:00
committed by GitHub
parent d16febcae1
commit 3fbc850774

View File

@@ -21,5 +21,5 @@
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/* | jq .
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/$1 | jq .
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/$1 | jq .[]
fi