refactor: make proxy log via a package-local var
which gets rid of a bunch of (dot) imports.
This commit is contained in:
1 parent
6e4f025d9c
commit
c25bfafcb2
7 files changed
+6
-12
No files matched your search
+3
-1
@@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/fsouza/go-dockerclient"
|
||||
. "github.com/weaveworks/weave/common"
|
||||
"github.com/weaveworks/weave/common"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -20,6 +20,8 @@ var (
|
||||
weaveWaitEntrypoint = []string{"/w/w"}
|
||||
weaveEntrypoint = "/home/weave/weaver"
|
||||
weaveContainerName = "/weave"
|
||||
|
||||
Log = common.Log
|
||||
)
|
||||
|
||||
func callWeave(args ...string) ([]byte, []byte, error) {
|
||||
|
||||
Reference in new issue
Block a user