From c8ecfec211061f6471f1c0cf45abdb7a0bae0313 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 27 Nov 2014 08:42:27 +0000 Subject: [PATCH] correct comment --- weave | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/weave b/weave index b044a7cc..0b0985a9 100755 --- a/weave +++ b/weave @@ -147,8 +147,9 @@ docker_bridge_ip() { # the following borrows from https://github.com/jpetazzo/pipework -# run args $2 $3 ... as a command in the network namespace of container $1 -# if an error is caused by container dying, swallow output from error +# set $NETNS to the network namespace of container $1, and execute +# args $2 $3 ... as a command. If an error is caused by container +# dying, swallow output from error. with_container_netns () { CONTAINER="$1" CONTAINER_PID=$(docker inspect --format='{{ .State.Pid }}' $CONTAINER)