In DOCKER_VERNEMQ_SWARM mode, the logic for obtaining the NODENAME is inconsistent between these two places. In some cases, the results obtained by the two methods differ. Should they be made consistent?
|
terminating_node_name=VerneMQ@$(hostname -i) |
|
NODENAME=$(ip -4 -o addr show ${NET_INTERFACE} | awk '{print $4}' | cut -d "/" -f 1) |
In DOCKER_VERNEMQ_SWARM mode, the logic for obtaining the NODENAME is inconsistent between these two places. In some cases, the results obtained by the two methods differ. Should they be made consistent?
docker-vernemq/bin/vernemq.sh
Line 332 in 0797c99
docker-vernemq/bin/vernemq.sh
Line 111 in 0797c99