Wait for ethwe via netlink, not via polling or signals

('docker kill' breaks restart policy)
This commit is contained in:
Bryan Boreham committed 2015-08-27 15:03:41 +01:00
1 parent 42b64f826b
commit 6e89b036e2
5 files changed
+47 -39

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ func (i *createExecInterceptor) InterceptRequest(r *http.Request) error {
Log.Infof("Leaving container %s alone because %s", container.ID, err)
} else if hasWeaveWait {
Log.Infof("Exec in container %s with WEAVE_CIDR \"%s\"", container.ID, strings.Join(cidrs, " "))
cmd := append(weaveWaitEntrypoint, "-s")
cmd := weaveWaitEntrypoint
options.Cmd = append(cmd, options.Cmd...)
}