Skip to content

Commit

Permalink
Replace deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 10, 2024
1 parent 45eeb1f commit 4f4683b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/logs/tailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func tailFile(filename string, follow bool, nblines int64) (*tail.Tail, error) {
return tail.TailFile(filename, tail.Config{
Location: &tail.SeekInfo{
Offset: pos,
Whence: os.SEEK_SET,
Whence: io.SeekStart,
},
ReOpen: follow,
Follow: follow,
Expand Down

0 comments on commit 4f4683b

Please sign in to comment.