1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove wait on start channel for systemd socket

Because Serve will be called after daemon creation

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-10-05 17:41:25 -07:00
parent e1d3cb89f1
commit 806e4c4a02

View file

@ -27,10 +27,6 @@ func (s *Server) newServer(proto, addr string) ([]*HTTPServer, error) {
if err != nil {
return nil, err
}
// We don't want to start serving on these sockets until the
// daemon is initialized and installed. Otherwise required handlers
// won't be ready.
<-s.start
case "tcp":
l, err := s.initTCPSocket(addr)
if err != nil {