File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export BUCKET_NAME="${BUCKET_NAME:-registry}"
2323
2424# wait for etcd to be available
2525until 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
2828done
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
7272confd -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
7777if [[ ! -z $EXTERNAL_PORT ]]; then
You can’t perform that action at this time.
0 commit comments