Skip to content

Commit 3e99f29

Browse files
committed
style(registry) consistent registry output
1 parent f37aeac commit 3e99f29

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

registry/bin/boot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export BUCKET_NAME="${BUCKET_NAME:-registry}"
2323

2424
# wait for etcd to be available
2525
until etcdctl --no-sync -C "$ETCD" ls >/dev/null 2>&1; do
26-
echo "waiting for etcd at $ETCD..."
26+
echo "registry: waiting for etcd at $ETCD..."
2727
sleep $((ETCD_TTL/2)) # sleep for half the TTL
2828
done
2929

@@ -35,8 +35,8 @@ function etcd_set_default {
3535
ERROR="$(etcdctl --no-sync -C "$ETCD" mk "$ETCD_PATH/$1" "$2" 2>&1 >/dev/null)"
3636

3737
if [[ $? -ne 0 ]] && echo "$ERROR" | grep -iqve "key already exists"; then
38-
echo "etcd_set_default: an etcd error occurred ($ERROR)"
39-
echo "aborting..."
38+
echo "registry: etcd_set_default: an etcd error occurred ($ERROR)"
39+
echo "registry: aborting..."
4040
exit 1
4141
fi
4242
set -e
@@ -71,7 +71,7 @@ trap on_exit INT TERM
7171
# spawn confd in the background to update services based on etcd changes
7272
confd -node "$ETCD" --confdir /app --log-level error --interval 5 &
7373

74-
echo deis-registry running...
74+
echo "deis-registry running..."
7575

7676
# publish the service to etcd using the injected EXTERNAL_PORT
7777
if [[ ! -z $EXTERNAL_PORT ]]; then

0 commit comments

Comments
 (0)