From de05e5816869073600ae8e851093b4b9a9d7fab0 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 18 Jan 2021 13:20:32 +0100 Subject: ginkgo: install on demand via `go get -u` Install ginkgo on demand via `go get -u` rather than keeping a copy it's entire source code in the vendor dirctory. The main motivation for that is to make `golangci-lint` happy which is continuously throwing up on the import of a program (i.e., ginkgo). The linter is broken and stupid as it ignores flags to ignore dirs and ignores build tags (at least some linters do) which is blocking us from updating to newer versions. Signed-off-by: Valentin Rothberg --- vendor/github.com/nxadm/tail/tail.go | 1 + 1 file changed, 1 insertion(+) (limited to 'vendor/github.com/nxadm/tail/tail.go') diff --git a/vendor/github.com/nxadm/tail/tail.go b/vendor/github.com/nxadm/tail/tail.go index 58d3c4b95..7fbba8d33 100644 --- a/vendor/github.com/nxadm/tail/tail.go +++ b/vendor/github.com/nxadm/tail/tail.go @@ -435,6 +435,7 @@ func (tail *Tail) sendLine(line string) bool { // Cleanup removes inotify watches added by the tail package. This function is // meant to be invoked from a process's exit handler. Linux kernel may not // automatically remove inotify watches after the process exits. +// If you plan to re-read a file, don't call Cleanup in between. func (tail *Tail) Cleanup() { watch.Cleanup(tail.Filename) } -- cgit v1.2.3-54-g00ecf