When container is started in host (or container) networkMode, we mount a noop weavewait, so it can continue

review feedback
This commit is contained in:
Paul Bellamy committed 2015-11-03 10:18:05 +00:00
1 parent 77c7963bde
commit ec5a1a3977
12 files changed
+106 -42

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// +build !noop
package main
import (
weavenet "github.com/weaveworks/weave/net"
)
func checkNetwork() error {
_, err := weavenet.EnsureInterfaceAndMcastRoute("ethwe")
return err
}