No special parsing needed for plugin argument

This commit is contained in:
Bryan Boreham committed 2017-05-12 13:24:59 +00:00
1 parent 3595c71d8b
commit 9f40d913c9
1 file changed
-5
-5
View File
@@ -1276,10 +1276,6 @@ launch() {
--no-restart)
RESTART_POLICY=
;;
--plugin)
PLUGIN_ARGS="--plugin"
ENABLE_PLUGIN=1
;;
*)
ARGS="$ARGS '$(echo "$1" | sed "s|'|'\"'\"'|g")'"
;;
@@ -1369,7 +1365,6 @@ launch() {
--ipalloc-range "$IPRANGE" \
--dns-effective-listen-address $DOCKER_BRIDGE_IP \
--dns-listen-address $DOCKER_BRIDGE_IP:53 \
$PLUGIN_ARGS \
--http-addr $HTTP_ADDR \
--status-addr $STATUS_ADDR \
--resolv-conf "/var/run/weave/etc/$RESOLV_CONF_BASE" \