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>
This commit is contained in:
Josh Bleecher Snyder 2021-05-03 13:01:14 -07:00
parent 9360f36ebd
commit 61e411344f

View File

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