diff options
| author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-02-10 12:03:13 -0800 |
|---|---|---|
| committer | Josh Bleecher Snyder <josh@tailscale.com> | 2021-02-10 12:03:13 -0800 |
| commit | 5555728c727866c251aa2f3dce2a2f30983165b8 (patch) | |
| tree | 624cc4afdbae390a32c3030c50de8721fba8cf2a /control | |
| parent | 7e201806b10af3d484643b03dc5b5b1dcec85c54 (diff) | |
| download | tailscale-josh/simplify-filch.tar.xz tailscale-josh/simplify-filch.zip | |
logtail/filch: use bufio.ScanLinesjosh/simplify-filch
splitLines here is identical to bufio.ScanLines,
except that bufio.ScanLines removes \r in addition to \n.
Trailing carriage returns shouldn't matter for our uses.
Since bufio.ScanLines is the default for a new bufio.Scanner,
we can delete the calls to Split too.
Diffstat (limited to 'control')
0 files changed, 0 insertions, 0 deletions
