Skip to content

Commit

Permalink
Replace io.ReadCloser with looser io.Reader
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed May 30, 2018
1 parent 0a78611 commit fd0eea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/inertiad/log/routine.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

// FlushRoutine continuously writes everything in given ReadCloser
// to an io.Writer. Use this as a goroutine.
func FlushRoutine(w io.Writer, rc io.ReadCloser, stop chan struct{}) {
func FlushRoutine(w io.Writer, rc io.Reader, stop chan struct{}) {
reader := bufio.NewReader(rc)
ROUTINE:
for {
Expand Down

0 comments on commit fd0eea9

Please sign in to comment.