Skip to content

Commit

Permalink
fix: Handle docker-compose versions (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 authored Nov 13, 2023
1 parent d6b5b32 commit 6bfb694
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-cherries-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@farcaster/hubble": patch
---

fix: Handle docker-compose versions in hubble.sh
2 changes: 1 addition & 1 deletion scripts/hubble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ ensure_grafana() {
mkdir -p grafana/data
chmod 777 grafana/data

if $COMPOSE_CMD ps statsd 2>&1 >/dev/null; then
if $COMPOSE_CMD ps 2>&1 >/dev/null; then
if $COMPOSE_CMD ps statsd | grep -q "Up"; then
$COMPOSE_CMD restart statsd grafana
else
Expand Down

0 comments on commit 6bfb694

Please sign in to comment.