From 0d82472ba3382fee2dcab65c5cbe5cfcd62aa3ee Mon Sep 17 00:00:00 2001 From: Brian 'Redbeard' Harrington Date: Thu, 9 Jan 2020 11:07:35 -0800 Subject: [PATCH] upstream: Sirupsen -> sirupsen name change In 2018 the GitHub "organization" github.com/Sirupsen changed to all lower case. While this was fine in a pre "Go Modules" world, this cases breaking changes when using modules within Go. A number of other Go projects have experienced this, for more detail reference the following: https://github.com/golang/go/issues/28489 https://github.com/golang/go/issues/26208 --- fetch/github.go | 2 +- fetch/github_deploy_key_test.go | 2 +- fetch/github_test.go | 2 +- format/builder.go | 2 +- format/ssh_test.go | 2 +- main.go | 2 +- output/file_test.go | 2 +- output/stdout_test.go | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fetch/github.go b/fetch/github.go index 5ae3457..532a2ab 100644 --- a/fetch/github.go +++ b/fetch/github.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/google/go-github/github" "golang.org/x/oauth2" ) diff --git a/fetch/github_deploy_key_test.go b/fetch/github_deploy_key_test.go index 010f4ff..8310097 100644 --- a/fetch/github_deploy_key_test.go +++ b/fetch/github_deploy_key_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) diff --git a/fetch/github_test.go b/fetch/github_test.go index 2b3ebd6..4dd30f8 100644 --- a/fetch/github_test.go +++ b/fetch/github_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) diff --git a/format/builder.go b/format/builder.go index 6ef69d1..6c2525c 100644 --- a/format/builder.go +++ b/format/builder.go @@ -1,6 +1,6 @@ package format -import log "github.com/Sirupsen/logrus" +import log "github.com/sirupsen/logrus" // Build builds output in given formatName format func Build(formatName string, keysByUsername map[string][]string, comment string) string { diff --git a/format/ssh_test.go b/format/ssh_test.go index fadf79c..95f5e1a 100644 --- a/format/ssh_test.go +++ b/format/ssh_test.go @@ -3,7 +3,7 @@ package format import ( "testing" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) diff --git a/main.go b/main.go index 9081b5c..50549da 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/pkg/errors" "github.com/ernoaapa/fetch-ssh-keys/fetch" diff --git a/output/file_test.go b/output/file_test.go index a454e46..b0f8572 100644 --- a/output/file_test.go +++ b/output/file_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) diff --git a/output/stdout_test.go b/output/stdout_test.go index 8938669..22ffa44 100644 --- a/output/stdout_test.go +++ b/output/stdout_test.go @@ -3,7 +3,7 @@ package output import ( "testing" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" ) func TestStdout(t *testing.T) {