From 3866143675a2ccf15095b75b2c97b858d8ef0ab5 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 4 May 2022 15:01:23 +0200 Subject: exclude new tools vendor dir from validate We have no control over the code in the vendored files. Signed-off-by: Paul Holzinger --- test/tools/vendor/github.com/sirupsen/logrus/CHANGELOG.md | 2 +- test/tools/vendor/github.com/sirupsen/logrus/README.md | 2 +- test/tools/vendor/github.com/sirupsen/logrus/appveyor.yml | 8 ++++---- .../tools/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go | 1 - .../vendor/github.com/sirupsen/logrus/terminal_check_unix.go | 1 - 5 files changed, 6 insertions(+), 8 deletions(-) (limited to 'test/tools/vendor/github.com/sirupsen/logrus') diff --git a/test/tools/vendor/github.com/sirupsen/logrus/CHANGELOG.md b/test/tools/vendor/github.com/sirupsen/logrus/CHANGELOG.md index f62cbd24a..95ffc62ce 100644 --- a/test/tools/vendor/github.com/sirupsen/logrus/CHANGELOG.md +++ b/test/tools/vendor/github.com/sirupsen/logrus/CHANGELOG.md @@ -1,7 +1,7 @@ # 1.4.1 This new release introduces: * Enhance TextFormatter to not print caller information when they are empty (#944) - * Remove dependency on golang.org/x/crypto (#932, #943) + * Remove dependency on golang.org/x/crypto (#932, #943) Fixes: * Fix Entry.WithContext method to return a copy of the initial entry (#941) diff --git a/test/tools/vendor/github.com/sirupsen/logrus/README.md b/test/tools/vendor/github.com/sirupsen/logrus/README.md index a4796eb07..3bf033166 100644 --- a/test/tools/vendor/github.com/sirupsen/logrus/README.md +++ b/test/tools/vendor/github.com/sirupsen/logrus/README.md @@ -84,7 +84,7 @@ time="2015-03-26T01:27:38-04:00" level=fatal method=github.com/sirupsen/arcticcr ``` Note that this does add measurable overhead - the cost will depend on the version of Go, but is between 20 and 40% in recent tests with 1.6 and 1.7. You can validate this in your -environment via benchmarks: +environment via benchmarks: ``` go test -bench=.*CallerTracing ``` diff --git a/test/tools/vendor/github.com/sirupsen/logrus/appveyor.yml b/test/tools/vendor/github.com/sirupsen/logrus/appveyor.yml index 96c2ce15f..1d4d64201 100644 --- a/test/tools/vendor/github.com/sirupsen/logrus/appveyor.yml +++ b/test/tools/vendor/github.com/sirupsen/logrus/appveyor.yml @@ -1,14 +1,14 @@ version: "{build}" platform: x64 clone_folder: c:\gopath\src\github.com\sirupsen\logrus -environment: +environment: GOPATH: c:\gopath -branches: +branches: only: - master -install: +install: - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% - go version -build_script: +build_script: - go get -t - go test diff --git a/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go b/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go index 3c4f43f91..ff6ff7b99 100644 --- a/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go +++ b/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go @@ -10,4 +10,3 @@ func isTerminal(fd int) bool { _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) return err == nil } - diff --git a/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_unix.go b/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_unix.go index 355dc966f..163c468d5 100644 --- a/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_unix.go +++ b/test/tools/vendor/github.com/sirupsen/logrus/terminal_check_unix.go @@ -10,4 +10,3 @@ func isTerminal(fd int) bool { _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) return err == nil } - -- cgit v1.2.3-54-g00ecf