From c23a592431e52f0bcfc409425066762457c04a34 Mon Sep 17 00:00:00 2001 From: Werberson Silva Date: Wed, 12 Dec 2018 20:40:18 -0200 Subject: [PATCH] fix possible mixed import conflicts, mixing upper- and lower-case logrus import see https://github.com/sirupsen/logrus/issues/570#issuecomment-313933276 --- src/client/client.go | 2 +- src/client/http.go | 2 +- src/hook/hook.go | 2 +- src/types/error.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/client.go b/src/client/client.go index 0b0dfdc..0836e14 100644 --- a/src/client/client.go +++ b/src/client/client.go @@ -8,7 +8,7 @@ import ( "path" "strings" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/labbsr0x/bindman-dns-webhook/src/types" ) diff --git a/src/client/http.go b/src/client/http.go index 39000d2..658e4b0 100644 --- a/src/client/http.go +++ b/src/client/http.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) // PostHTTP wraps the call to http.NewRequest apis and properly submits a new HTTP POST request diff --git a/src/hook/hook.go b/src/hook/hook.go index 97c82fd..dc8e3df 100644 --- a/src/hook/hook.go +++ b/src/hook/hook.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "github.com/Sirupsen/logrus" "github.com/labbsr0x/bindman-dns-webhook/src/types" + "github.com/sirupsen/logrus" "github.com/gorilla/mux" ) diff --git a/src/types/error.go b/src/types/error.go index 9ba9514..9c23491 100644 --- a/src/types/error.go +++ b/src/types/error.go @@ -5,7 +5,7 @@ import ( "os" "strings" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) // Error groups together information that defines an error. Should always be used to