Wait for ethwe via netlink, not via polling or signals
('docker kill' breaks restart policy)
This commit is contained in:
1 parent
42b64f826b
commit
6e89b036e2
5 files changed
+47
-39
No files matched your search
@@ -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...)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user