Pierre Prinetti 6abb111ac6
Bump k8s to v.0.22.3
Fully address CVE-2021-3121 in the process.
2021-11-15 14:59:23 +01:00

13 lines
189 B
Go

// +build windows
package tail
import (
"github.com/nxadm/tail/winfile"
"os"
)
func OpenFile(name string) (file *os.File, err error) {
return winfile.OpenFile(name, os.O_RDONLY, 0)
}