summaryrefslogtreecommitdiffhomepage
path: root/control
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-02-10 12:03:13 -0800
committerJosh Bleecher Snyder <josh@tailscale.com>2021-02-10 12:03:13 -0800
commit5555728c727866c251aa2f3dce2a2f30983165b8 (patch)
tree624cc4afdbae390a32c3030c50de8721fba8cf2a /control
parent7e201806b10af3d484643b03dc5b5b1dcec85c54 (diff)
downloadtailscale-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