Skip to content
This repository was archived by the owner on Feb 11, 2020. It is now read-only.

Commit 9601307

Browse files
committed
Default to local cluster in es_diagnostic
1 parent fb034af commit 9601307

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

es_diagnostic.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ set -eu
88
## optionally: update the old_snapshot_name and new_snapshot_name variables from the output
99
## run again, or ideally (on a large monitor) use `watch -n1 bash es_diagnostic.sh`
1010

11+
cluster_url="${cluster_url:-http://localhost:9200}"
12+
1113
## CONFIGURE SCRIPT HERE
1214
old_snapshot_name="pelias-2016.11.04-000804"
1315
new_snapshot_name="pelias-2016.10.21-185509"

0 commit comments

Comments
 (0)