Skip to content

Commit 9d86d6f

Browse files
committed
Make vendored logrus library reflect vendor.json
I ran `govendor status` to check the integrity of vendored packages and found that the vendored copy of the logrus library did not match the version pinned in `vendor.json`. govendor gave the following error: $ govendor status The following packages are missing or modified locally: github.com/Sirupsen/logrus Error: status failed for 1 package(s) Additionally, remove the unused lowercase variant of logrus from `vendor.json`. The URL for this library changed upstream to use lowercase `sirupsen` instead of `Sirupsen`. The best way forward for now is to continue to use the uppercase version as that's what's used by the Prometheus libraries; mixed-case imports result in an import collision: can't load package: package github.com/sirupsen/logrus: case-insensitive import collision: "github.com/Sirupsen/logrus" and "github.com/sirupsen/logrus" See this comment for more details: sirupsen/logrus#570 (comment)
1 parent e047551 commit 9d86d6f

16 files changed

+153
-417
lines changed

vendor/github.com/Sirupsen/logrus/CHANGELOG.md

-43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sirupsen/logrus/README.md

+47-131
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sirupsen/logrus/alt_exit.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sirupsen/logrus/doc.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sirupsen/logrus/entry.go

+18-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sirupsen/logrus/exported.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Sirupsen/logrus/json_formatter.go

+4-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)