Merge pull request #2466 from weaveworks/issues/2464-enable-create-bridge

Re-enable 'weave create-bridge' in fastdp mode.
This commit is contained in:
Adam Harrison authored and GitHub committed 2016-08-10 09:57:40 +01:00
commit 472eab2acd
1 file changed
+2
+2
View File
@@ -1933,6 +1933,7 @@ case "$COMMAND" in
# intentionally undocumented since it assumes knowledge of weave # intentionally undocumented since it assumes knowledge of weave
# internals # internals
create-bridge) create-bridge)
if [ "$1" != "--force" ] ; then
cat 1>&2 <<EOF cat 1>&2 <<EOF
WARNING: 'weave create-bridge' is deprecated. Instead use 'weave attach-bridge' WARNING: 'weave create-bridge' is deprecated. Instead use 'weave attach-bridge'
to link the docker and weave bridges after both docker and weave have been to link the docker and weave bridges after both docker and weave have been
@@ -1950,6 +1951,7 @@ really want to do this please set the WEAVE_NO_FASTDP environment variable.
EOF EOF
exit 1 exit 1
fi fi
fi
create_bridge --without-ethtool create_bridge --without-ethtool
;; ;;
attach-bridge) attach-bridge)