Skip to content

Commit

Permalink
Update To use LogWatcher.ConsumerGone instead of LogWatcher.Close in
Browse files Browse the repository at this point in the history
light of new update from moby. moby/moby#37576
  • Loading branch information
likevi-MSFT committed Sep 11, 2018
1 parent c639639 commit 7b5092c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (d *driver) ReadLogs(info logger.Info, config logger.ReadConfig) (io.ReadCl

enc := protoio.NewUint32DelimitedWriter(w, binary.BigEndian)
defer enc.Close()
defer watcher.Close()
defer watcher.ConsumerGone()

var buf logdriver.LogEntry
for {
Expand Down

0 comments on commit 7b5092c

Please sign in to comment.