hectcastro / docker-riak-cs

A Docker project to bring up a local Riak CS cluster.
https://registry.hub.docker.com/u/hectcastro/riak-cs/
Apache License 2.0
42 stars 21 forks source link

Fix creds extraction when 1 use only one node #16

Open pmarques opened 9 years ago

pmarques commented 9 years ago

Hi,

When I start a cluster with only one node (DOCKER_RIAK_CS_CLUSTER_SIZE=1) the credentials printed are not correct. This is just a fix to wait some time in that case. It also could be done using pooling until _adminkey change from admin-key, what do you think?