cosmetic: missed one
This commit is contained in:
1 parent
b9d666d4a5
commit
f281eeb02a
1 file changed
+1
-1
@@ -642,7 +642,7 @@ populate_dns() {
|
||||
for CONTAINER in $(docker ps -q --no-trunc) ; do
|
||||
MORE_ARGS=$(docker inspect --format='--data-urlencode fqdn={{.Config.Hostname}}.{{.Config.Domainname}}.' $CONTAINER 2>/dev/null) || true
|
||||
if CONTAINER_IPS=$(with_container_netns $CONTAINER container_weave_addrs 2>&1 | sed -n -e 's/inet \([^/]*\)\/\(.*\)/\1/p') ; then
|
||||
for IP in $CONTAINER_IPS; do
|
||||
for IP in $CONTAINER_IPS ; do
|
||||
# NB: CONTAINER_IP is the IP of the weavedns
|
||||
# container; it is set by wait_for_status.
|
||||
if ! http_call_ip $CONTAINER_IP $DNS_HTTP_PORT PUT /name/$CONTAINER/$IP $MORE_ARGS ; then
|
||||
|
||||
Reference in new issue
Block a user