Initialize global variable MINION_IPS in setClusterInfo function. MINION_IPS is defined as a global variable, and is concatenated with other nodeIP. When setClusterInfo is called for many times, this could cause potential problems. Such as, you will have MINION_IPS=192.168.0.2,192.168.0.3,192.168.0.2,192.168.0.3 which is obviously wrong. Update util.sh |
||
|---|---|---|
| .. | ||
| master | ||
| minion | ||
| .gitignore | ||
| build.sh | ||
| config-default.sh | ||
| config-test.sh | ||
| deployAddons.sh | ||
| namespace.yaml | ||
| reconfDocker.sh | ||
| util.sh | ||