From 6f57bcb47701b3fd0d8c62fa12f9ecc199457f0c Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sun, 31 May 2015 09:35:53 +0100 Subject: [PATCH] tiny refactor - use full container id, since we happen to have it --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 141b3408..78f49ffa 100755 --- a/weave +++ b/weave @@ -941,7 +941,7 @@ case "$COMMAND" in create_bridge CONTAINER=$(docker start $CONTAINER_ID) get_ipam_cidr $CONTAINER_ID $CONTAINER - with_container_netns $CONTAINER_ID attach $CIDR_ARGS >/dev/null + with_container_netns $CONTAINER attach $CIDR_ARGS >/dev/null tell_dns PUT $CONTAINER_ID $CIDR_ARGS echo $CONTAINER ;;