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:
parent
e1d3cb89f1
commit
806e4c4a02
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue