Skip to content

Commit 0e48b4b

Browse files
Fix opensearch healthcheck (open-telemetry#1742)
1 parent 34d95c9 commit 0e48b4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose.minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ services:
657657
ports:
658658
- "9200"
659659
healthcheck:
660-
test: curl -s http://localhost:9200/_cluster/health | grep status | grep -q '\\(green\\|yellow\\)'
660+
test: curl -s http://localhost:9200/_cluster/health | grep '"status":"green"'
661661
start_period: 10s
662662
interval: 5s
663663
timeout: 10s

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ services:
768768
ports:
769769
- "9200"
770770
healthcheck:
771-
test: curl -s http://localhost:9200/_cluster/health | grep -q '"status":"green"'
771+
test: curl -s http://localhost:9200/_cluster/health | grep '"status":"green"'
772772
start_period: 10s
773773
interval: 5s
774774
timeout: 10s

0 commit comments

Comments
 (0)