From 76807eb54ffaa14b3524b4c8fc71469c1fe0e365 Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Sun, 8 Oct 2017 13:44:50 +0100 Subject: [PATCH] Fix: cannot find package github.com/Sirupsen/logrus in dependencies. Fix: ``` vendor/github.com/docker/docker/pkg/archive/archive.go:20:2: cannot find package "github.com/Sirupsen/logrus" in any of: /go/src/github.com/weaveworks/scope/vendor/github.com/Sirupsen/logrus (vendor tree) /usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT) /go/src/github.com/Sirupsen/logrus (from $GOPATH) ``` via: ``` $ git grep -l Sirupsen | xargs sed -i 's:github.com/Sirupsen/logrus:github.com/sirupsen/logrus:g' ``` --- vendor/github.com/Azure/go-ansiterm/parser.go | 2 +- .../github.com/Azure/go-ansiterm/winterm/win_event_handler.go | 2 +- vendor/github.com/docker/docker/pkg/archive/archive.go | 2 +- vendor/github.com/docker/docker/pkg/archive/changes.go | 2 +- vendor/github.com/docker/docker/pkg/archive/copy.go | 2 +- vendor/github.com/docker/docker/pkg/archive/diff.go | 2 +- vendor/github.com/docker/docker/pkg/archive/example_changes.go | 2 +- vendor/github.com/docker/docker/pkg/fileutils/fileutils.go | 2 +- vendor/github.com/docker/docker/pkg/fileutils/fileutils_unix.go | 2 +- vendor/github.com/docker/docker/pkg/stdcopy/stdcopy.go | 2 +- vendor/github.com/docker/docker/pkg/system/syscall_windows.go | 2 +- vendor/github.com/docker/docker/pkg/term/windows/windows.go | 2 +- .../docker/libcontainer/cgroups/fs/stats_util_test.go | 2 +- .../runc/libcontainer/cgroups/fs/stats_util_test.go | 2 +- vendor/github.com/weaveworks/billing-client/client.go | 2 +- vendor/github.com/weaveworks/weave/common/logging.go | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/vendor/github.com/Azure/go-ansiterm/parser.go b/vendor/github.com/Azure/go-ansiterm/parser.go index 169f68dbe..3286a9cb5 100644 --- a/vendor/github.com/Azure/go-ansiterm/parser.go +++ b/vendor/github.com/Azure/go-ansiterm/parser.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "os" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) var logger *logrus.Logger diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go index 4d858ed61..48998bb05 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go @@ -9,7 +9,7 @@ import ( "strconv" "github.com/Azure/go-ansiterm" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) var logger *logrus.Logger diff --git a/vendor/github.com/docker/docker/pkg/archive/archive.go b/vendor/github.com/docker/docker/pkg/archive/archive.go index 4f0b4ffef..38a7ccdac 100644 --- a/vendor/github.com/docker/docker/pkg/archive/archive.go +++ b/vendor/github.com/docker/docker/pkg/archive/archive.go @@ -17,7 +17,7 @@ import ( "strings" "syscall" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/docker/docker/pkg/fileutils" "github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/ioutils" diff --git a/vendor/github.com/docker/docker/pkg/archive/changes.go b/vendor/github.com/docker/docker/pkg/archive/changes.go index 4e2d8e54f..72f87bf3a 100644 --- a/vendor/github.com/docker/docker/pkg/archive/changes.go +++ b/vendor/github.com/docker/docker/pkg/archive/changes.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/pools" "github.com/docker/docker/pkg/system" diff --git a/vendor/github.com/docker/docker/pkg/archive/copy.go b/vendor/github.com/docker/docker/pkg/archive/copy.go index e1fa73f37..389a758f1 100644 --- a/vendor/github.com/docker/docker/pkg/archive/copy.go +++ b/vendor/github.com/docker/docker/pkg/archive/copy.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/docker/docker/pkg/system" ) diff --git a/vendor/github.com/docker/docker/pkg/archive/diff.go b/vendor/github.com/docker/docker/pkg/archive/diff.go index 1b08ad33a..f60e02111 100644 --- a/vendor/github.com/docker/docker/pkg/archive/diff.go +++ b/vendor/github.com/docker/docker/pkg/archive/diff.go @@ -10,7 +10,7 @@ import ( "runtime" "strings" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/docker/docker/pkg/idtools" "github.com/docker/docker/pkg/pools" "github.com/docker/docker/pkg/system" diff --git a/vendor/github.com/docker/docker/pkg/archive/example_changes.go b/vendor/github.com/docker/docker/pkg/archive/example_changes.go index cedd46a40..c500ad096 100644 --- a/vendor/github.com/docker/docker/pkg/archive/example_changes.go +++ b/vendor/github.com/docker/docker/pkg/archive/example_changes.go @@ -13,7 +13,7 @@ import ( "os" "path" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/docker/docker/pkg/archive" ) diff --git a/vendor/github.com/docker/docker/pkg/fileutils/fileutils.go b/vendor/github.com/docker/docker/pkg/fileutils/fileutils.go index 763d8d279..6f4a6e613 100644 --- a/vendor/github.com/docker/docker/pkg/fileutils/fileutils.go +++ b/vendor/github.com/docker/docker/pkg/fileutils/fileutils.go @@ -10,7 +10,7 @@ import ( "strings" "text/scanner" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) // exclusion returns true if the specified pattern is an exclusion diff --git a/vendor/github.com/docker/docker/pkg/fileutils/fileutils_unix.go b/vendor/github.com/docker/docker/pkg/fileutils/fileutils_unix.go index d5c3abf56..9e0e97bd6 100644 --- a/vendor/github.com/docker/docker/pkg/fileutils/fileutils_unix.go +++ b/vendor/github.com/docker/docker/pkg/fileutils/fileutils_unix.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "os" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) // GetTotalUsedFds Returns the number of used File Descriptors by diff --git a/vendor/github.com/docker/docker/pkg/stdcopy/stdcopy.go b/vendor/github.com/docker/docker/pkg/stdcopy/stdcopy.go index 8f67ece94..b9a854c1d 100644 --- a/vendor/github.com/docker/docker/pkg/stdcopy/stdcopy.go +++ b/vendor/github.com/docker/docker/pkg/stdcopy/stdcopy.go @@ -8,7 +8,7 @@ import ( "io" "sync" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) // StdType is the type of standard stream diff --git a/vendor/github.com/docker/docker/pkg/system/syscall_windows.go b/vendor/github.com/docker/docker/pkg/system/syscall_windows.go index f5f2d5694..7aaab7e7f 100644 --- a/vendor/github.com/docker/docker/pkg/system/syscall_windows.go +++ b/vendor/github.com/docker/docker/pkg/system/syscall_windows.go @@ -4,7 +4,7 @@ import ( "syscall" "unsafe" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) var ( diff --git a/vendor/github.com/docker/docker/pkg/term/windows/windows.go b/vendor/github.com/docker/docker/pkg/term/windows/windows.go index ce4cb5990..58331c483 100644 --- a/vendor/github.com/docker/docker/pkg/term/windows/windows.go +++ b/vendor/github.com/docker/docker/pkg/term/windows/windows.go @@ -10,7 +10,7 @@ import ( "sync" ansiterm "github.com/Azure/go-ansiterm" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) var logger *logrus.Logger diff --git a/vendor/github.com/docker/libcontainer/cgroups/fs/stats_util_test.go b/vendor/github.com/docker/libcontainer/cgroups/fs/stats_util_test.go index 19226207a..823a31d85 100644 --- a/vendor/github.com/docker/libcontainer/cgroups/fs/stats_util_test.go +++ b/vendor/github.com/docker/libcontainer/cgroups/fs/stats_util_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/docker/libcontainer/cgroups" ) diff --git a/vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/stats_util_test.go b/vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/stats_util_test.go index 295e7bd22..d0ab04741 100644 --- a/vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/stats_util_test.go +++ b/vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/stats_util_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "github.com/opencontainers/runc/libcontainer/cgroups" ) diff --git a/vendor/github.com/weaveworks/billing-client/client.go b/vendor/github.com/weaveworks/billing-client/client.go index a6862b152..cce5bdb33 100644 --- a/vendor/github.com/weaveworks/billing-client/client.go +++ b/vendor/github.com/weaveworks/billing-client/client.go @@ -7,7 +7,7 @@ import ( "sync" "time" - log "github.com/Sirupsen/logrus" + log "github.com/sirupsen/logrus" "github.com/fluent/fluent-logger-golang/fluent" "github.com/prometheus/client_golang/prometheus" "golang.org/x/net/context" diff --git a/vendor/github.com/weaveworks/weave/common/logging.go b/vendor/github.com/weaveworks/weave/common/logging.go index d42ad44a2..2d2038f37 100644 --- a/vendor/github.com/weaveworks/weave/common/logging.go +++ b/vendor/github.com/weaveworks/weave/common/logging.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) type textFormatter struct {