From dfc21ff729edce8958debf6c499457e4070e255b Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Wed, 14 Jun 2017 17:13:18 -0700 Subject: [PATCH] Fix logrus import The author of logrus has changed his GitHub username from Sirupsen to sirupsen. The case change breaks logrus imports for packages whose dependencies import logrus using the other casing. See also, sirupsen/logrus#384 --- README.md | 2 +- log/eventlog_formatter.go | 2 +- log/log.go | 2 +- log/log_test.go | 2 +- log/syslog_formatter.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 98f6ce24b..11a584945 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ components and libraries. * **config**: Common configuration structures * **expfmt**: Decoding and encoding for the exposition format -* **log**: A logging wrapper around [logrus](https://github.com/Sirupsen/logrus) +* **log**: A logging wrapper around [logrus](https://github.com/sirupsen/logrus) * **model**: Shared data structures * **route**: A routing wrapper around [httprouter](https://github.com/julienschmidt/httprouter) using `context.Context` * **version**: Version informations and metric diff --git a/log/eventlog_formatter.go b/log/eventlog_formatter.go index 6d41284ce..12b4ba41e 100644 --- a/log/eventlog_formatter.go +++ b/log/eventlog_formatter.go @@ -21,7 +21,7 @@ import ( "golang.org/x/sys/windows/svc/eventlog" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) func init() { diff --git a/log/log.go b/log/log.go index 0a74a7f92..9d3715c30 100644 --- a/log/log.go +++ b/log/log.go @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) type levelFlag string diff --git a/log/log_test.go b/log/log_test.go index 953adb79c..2cd2b18e2 100644 --- a/log/log_test.go +++ b/log/log_test.go @@ -18,7 +18,7 @@ import ( "regexp" "testing" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) func TestFileLineLogging(t *testing.T) { diff --git a/log/syslog_formatter.go b/log/syslog_formatter.go index 64f5fdac9..fb3a744ee 100644 --- a/log/syslog_formatter.go +++ b/log/syslog_formatter.go @@ -20,7 +20,7 @@ import ( "log/syslog" "os" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) var _ logrus.Formatter = (*syslogger)(nil)