Closed thomasjpfan closed 6 years ago
Hi, thanks for the fix.
Can you describe a bit more what was the problem because your fix contains code refactoring and formatting.
A big in your code or something new a docker with the network ?
Thanks !
Besides the slave IP issue discussed in https://github.com/thomasjpfan/redis-cluster-docker-swarm/issues/4#issuecomment-422045812, there was one more issue with the sentinel IPs. When redis-look
first starts, and the sentinels are not running yet, this would case the bootstrapping to fail. I fixed this, by just waiting for the sentinel IPs to appear on the network.
The random formatting comes from adapting a new linter, that prefers tabs over spaces when working with shell scripts. 😅
Addresses #4