logtail/filch: add staticcheck annotation

To work around a staticcheck bug when running with GOOS=windows.

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
pull/1846/head
Josh Bleecher Snyder 4 years ago
parent 9360f36ebd
commit 61e411344f

@ -15,6 +15,7 @@ import (
"sync" "sync"
) )
//lint:ignore U1000 work around false positive: https://github.com/dominikh/go-tools/issues/983
var stderrFD = 2 // a variable for testing var stderrFD = 2 // a variable for testing
type Options struct { type Options struct {

Loading…
Cancel
Save