Skip to content

Commit

Permalink
remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
smn committed Jul 20, 2015
1 parent 02f53b2 commit 927ac3e
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions core.go
Expand Up @@ -38,28 +38,3 @@ func (l LogDriver) StopOnReceive(done <-chan bool) {
<- done
l.Stop()
}

/*
defer func() { done <- true }()
tail, err := LogDriver.tail()
func tailFile(filename string, messages chan<- string, done chan<- bool) {
// start tailing
t, err := tail.TailFile(filename, tail.Config{Follow: true})
if err != nil {
fmt.Fprintln(os.Stderr, err)
return
}
for line := range t.Lines {
messages <- line.Text
}
err = t.Wait()
if err != nil {
fmt.Fprintln(os.Stderr, err)
}
}
*/

0 comments on commit 927ac3e

Please sign in to comment.