Remove dep. on docker and use mflag from common.

This reduces the number of dependencies, and avoids having docker as a vendored dependency, which should speed the build up.
This commit is contained in:
Marc CARRE committed 2017-01-31 10:30:12 +00:00
1 parent 77e6c6f886
commit 8f9b2a36c0
5 files changed
+3 -7

No files matched your search

-3
View File
@@ -79,9 +79,6 @@
[submodule "vendor/golang.org/x/sys"]
path = vendor/golang.org/x/sys
url = https://go.googlesource.com/sys
[submodule "vendor/github.com/weaveworks/docker"]
path = vendor/github.com/weaveworks/docker
url = https://github.com/weaveworks/docker
[submodule "vendor/github.com/beorn7/perks"]
path = vendor/github.com/beorn7/perks
url = https://github.com/beorn7/perks
+1 -1
View File
@@ -3,7 +3,7 @@ package mflagext
import (
"fmt"
"github.com/weaveworks/docker/pkg/mflag"
"github.com/weaveworks/common/mflag"
)
type listOpts struct {
+1 -1
View File
@@ -5,8 +5,8 @@ import (
"os"
"strings"
"github.com/weaveworks/common/mflag"
"github.com/weaveworks/common/signals"
"github.com/weaveworks/docker/pkg/mflag"
"github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/common/mflagext"
"github.com/weaveworks/weave/proxy"
+1 -1
View File
@@ -13,8 +13,8 @@ import (
"github.com/gorilla/mux"
"github.com/pkg/profile"
"github.com/weaveworks/common/mflag"
"github.com/weaveworks/common/signals"
"github.com/weaveworks/docker/pkg/mflag"
"github.com/weaveworks/mesh"
"github.com/weaveworks/weave/common"