Abstract out logging function from weave api package to reduce dependencies
This commit is contained in:
1 parent
b83f4a00ed
commit
f2e38ae6c5
3 files changed
+12
-8
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ func main() {
|
||||
Log.Fatalf("unable to connect to docker: %s", err)
|
||||
}
|
||||
|
||||
weave := weaveapi.NewClient(os.Getenv("WEAVE_HTTP_ADDR"))
|
||||
weave := weaveapi.NewClient(os.Getenv("WEAVE_HTTP_ADDR"), Log)
|
||||
|
||||
Log.Println("Weave plugin", version, "Command line options:", os.Args[1:])
|
||||
Log.Info(dockerClient.Info())
|
||||
|
||||
Reference in new issue
Block a user