From b004a9149e4a6e0634be621856fb81debfe7ea93 Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Tue, 13 Oct 2020 12:40:45 -0400 Subject: [PATCH] Update so-index-list --- salt/common/tools/sbin/so-index-list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/common/tools/sbin/so-index-list b/salt/common/tools/sbin/so-index-list index 86fb72717..f349cb0d4 100755 --- a/salt/common/tools/sbin/so-index-list +++ b/salt/common/tools/sbin/so-index-list @@ -16,7 +16,7 @@ # along with this program. If not, see . {% if grains['role'] in ['so-node','so-heavynode'] %} -curl -X GET -k https://"localhost:9200/_cat/indices?v" +curl -X GET -k https://localhost:9200/_cat/indices?v {% else %} -curl -X GET "localhost:9200/_cat/indices?v" +curl -X GET localhost:9200/_cat/indices?v {% endif %}