Use entrypoint to detect weave router
This commit is contained in:
1 parent
20ac0edda8
commit
697ee62d9a
2 files changed
+3
-2
No files matched your search
@@ -20,6 +20,7 @@ import (
|
||||
var (
|
||||
containerIDRegexp = regexp.MustCompile("^(/v[0-9\\.]*)?/containers/([^/]*)/.*")
|
||||
weaveWaitEntrypoint = []string{"/w/w"}
|
||||
weaveEntrypoint = "/home/weave/weaver"
|
||||
)
|
||||
|
||||
func callWeave(args ...string) ([]byte, []byte, error) {
|
||||
|
||||
Reference in new issue
Block a user