summaryrefslogtreecommitdiff
path: root/vendor/github.com/nxadm/tail/tail_posix.go
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2021-03-08 10:00:22 +0000
committerDaniel J Walsh <dwalsh@redhat.com>2021-03-08 06:10:15 -0500
commit80390dd1800590f69ed83db13137fad88f6b63ed (patch)
tree1bc85aa799afc6e1a9643060a088f6776e68f4ef /vendor/github.com/nxadm/tail/tail_posix.go
parentb7c00f2cc03499d5d385a7aa7e8cd35d0ab994d7 (diff)
downloadpodman-80390dd1800590f69ed83db13137fad88f6b63ed.tar.gz
podman-80390dd1800590f69ed83db13137fad88f6b63ed.tar.bz2
podman-80390dd1800590f69ed83db13137fad88f6b63ed.zip
Bump github.com/onsi/ginkgo from 1.15.0 to 1.15.1
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.15.0 to 1.15.1. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v1.15.0...v1.15.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/nxadm/tail/tail_posix.go')
-rw-r--r--vendor/github.com/nxadm/tail/tail_posix.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/nxadm/tail/tail_posix.go b/vendor/github.com/nxadm/tail/tail_posix.go
index 1b94520ec..23e071dea 100644
--- a/vendor/github.com/nxadm/tail/tail_posix.go
+++ b/vendor/github.com/nxadm/tail/tail_posix.go
@@ -1,3 +1,4 @@
+// Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail
// +build !windows
package tail
@@ -6,6 +7,11 @@ import (
"os"
)
+// Deprecated: this function is only useful internally and, as such,
+// it will be removed from the API in a future major release.
+//
+// OpenFile proxies a os.Open call for a file so it can be correctly tailed
+// on POSIX and non-POSIX OSes like MS Windows.
func OpenFile(name string) (file *os.File, err error) {
return os.Open(name)
}