Skip to content

Commit

Permalink
fix a Sirupsen/logrus import issue in CI
Browse files Browse the repository at this point in the history
we are seeing:

2.947 go: github.com/opencontainers/image-tools/cmd/oci-image-tool imports
2.947 	github.com/Sirupsen/logrus: github.com/Sirupsen/[email protected]: parsing go.mod:
2.947 	module declares its path as: github.com/sirupsen/logrus
2.947 	        but was required as: github.com/Sirupsen/logrus

in CI, hopefully this replace fixes it?

Signed-off-by: Tycho Andersen <[email protected]>
  • Loading branch information
tych0 committed Jan 23, 2024
1 parent 501944d commit 48f7970
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ require (
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace (
github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.9.0
)
1 change: 1 addition & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ google.golang.org/protobuf/runtime/protoimpl
# gopkg.in/yaml.v3 v3.0.1
## explicit
gopkg.in/yaml.v3
# github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.9.0

0 comments on commit 48f7970

Please sign in to comment.