Attach existing weave containers at startup

This commit is contained in:
Bryan Boreham committed 2015-09-01 17:48:22 +01:00
1 parent 81e8ba223f
commit 9ae6435317
2 files changed
+16 -2

No files matched your search

+3 -1
View File
@@ -59,6 +59,8 @@ func main() {
Log.Fatalf("Could not start proxy: %s", err)
}
go p.ListenAndServe()
listeners := p.Listen()
p.AttachExistingContainers()
go p.Serve(listeners)
SignalHandlerLoop()
}