Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4402 from gabrtv/fix-db-recovery
Browse files Browse the repository at this point in the history
fix(database): use ETCD host during database recovery detection
  • Loading branch information
Gabriel Monroy committed Sep 3, 2015
2 parents 6839b59 + 7ca1b46 commit 88e6f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/bin/boot
Expand Up @@ -65,7 +65,7 @@ fi

# ensure WAL log bucket exists
envdir /etc/wal-e.d/env /app/bin/create_bucket "${BUCKET_NAME}"
INIT_ID=$(etcdctl get "$ETCD_PATH/initId" 2> /dev/null || echo none)
INIT_ID=$(etcdctl get -C "$ETCD" "$ETCD_PATH/initId" 2> /dev/null || echo none)
echo "database: expecting initialization id: $INIT_ID"

initial_backup=0
Expand Down

0 comments on commit 88e6f7a

Please sign in to comment.