Skip to content

Commit b002834

Browse files
committed
tools.go,vendor: Remove trailing slash in github.com/go-bindata/go-bindata module
Update the tools.go and remove the trailing slash in the `github.com/go-bindata/go-bindata/v3/go-bindata` module. When attempting to run `make vendor` from the root repository, the following error is produced: ```bash $ make vendor go mod tidy warning: ignoring symlink /home/tflannag/go/src/github.com/operator-framework/operator-lifecycle-manager/deploy/ocp/manifests/latest warning: ignoring symlink /home/tflannag/go/src/github.com/operator-framework/operator-lifecycle-manager/deploy/upstream/manifests/latest github.com/operator-framework/operator-lifecycle-manager imports github.com/go-bindata/go-bindata/v3/go-bindata/: malformed import path "github.com/go-bindata/go-bindata/v3/go-bindata/": trailing slash make: *** [Makefile:176: vendor] Error 1 ``` After after removing the trailing slash, updating the vendor tree was successful: ```diff $ git diff tools.go diff --git a/tools.go b/tools.go index 387556b9..949acdc9 100644 --- a/tools.go +++ b/tools.go @@ -3,7 +3,7 @@ package tools import ( - _ "github.com/go-bindata/go-bindata/v3/go-bindata/" + _ "github.com/go-bindata/go-bindata/v3/go-bindata" _ "github.com/golang/mock/mockgen" _ "github.com/googleapis/gnostic" _ "github.com/maxbrunsfeld/counterfeiter/v6" ``` ```bash $ make vendor go mod tidy warning: ignoring symlink /home/tflannag/go/src/github.com/operator-framework/operator-lifecycle-manager/deploy/ocp/manifests/latest warning: ignoring symlink /home/tflannag/go/src/github.com/operator-framework/operator-lifecycle-manager/deploy/upstream/manifests/latest go mod vendor warning: ignoring symlink /home/tflannag/go/src/github.com/operator-framework/operator-lifecycle-manager/deploy/ocp/manifests/latest warning: ignoring symlink /home/tflannag/go/src/github.com/operator-framework/operator-lifecycle-manager/deploy/upstream/manifests/latest ``` Signed-off-by: timflannagan <[email protected]>
1 parent 76d665c commit b002834

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package tools
44

55
import (
6-
_ "github.com/go-bindata/go-bindata/v3/go-bindata/"
6+
_ "github.com/go-bindata/go-bindata/v3/go-bindata"
77
_ "github.com/golang/mock/mockgen"
88
_ "github.com/googleapis/gnostic"
99
_ "github.com/maxbrunsfeld/counterfeiter/v6"

vendor/modules.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ github.com/ghodss/yaml
204204
# github.com/go-bindata/go-bindata/v3 v3.1.3
205205
## explicit
206206
github.com/go-bindata/go-bindata/v3
207-
github.com/go-bindata/go-bindata/v3/go-bindata/
207+
github.com/go-bindata/go-bindata/v3/go-bindata
208208
# github.com/go-logr/logr v0.3.0
209209
## explicit
210210
github.com/go-logr/logr

0 commit comments

Comments
 (0)