From f7f6f0f83ee39d2a0e116a3faf582cfaf5c8dab0 Mon Sep 17 00:00:00 2001 From: "Patrick F. Marques" Date: Sun, 1 Feb 2015 17:56:53 +0000 Subject: [PATCH] Fix creds extraction when 1 use only one node --- bin/start-cluster.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/start-cluster.sh b/bin/start-cluster.sh index 0ff3e52..99d135f 100755 --- a/bin/start-cluster.sh +++ b/bin/start-cluster.sh @@ -114,6 +114,11 @@ if [ -f $INSECURE_KEY_FILE ]; then echo " Riak CS credentials:" echo + # If starting only one node we need to wait a litle bit for keys + if [ ${DOCKER_RIAK_CS_CLUSTER_SIZE} -eq 1 ] ; then + sleep 30 + fi + for field in admin_key admin_secret ; do echo -n " ${field}: "