Skip to content

Commit

Permalink
Merge pull request #1078 from mrunalp/close_ch_1.0
Browse files Browse the repository at this point in the history
server: correctly return and close ch from exits routine
  • Loading branch information
Mrunal Patel committed Oct 27, 2017
2 parents 387c1c6 + 98ca080 commit ffe0d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Expand Up @@ -418,6 +418,7 @@ func (s *Server) StartExitMonitor() {
}()
if err := watcher.Add(s.config.ContainerExitsDir); err != nil {
logrus.Errorf("watcher.Add(%q) failed: %s", s.config.ContainerExitsDir, err)
close(done)
}
<-done
}

0 comments on commit ffe0d51

Please sign in to comment.