You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
I tried to create a new operator from the latest release from this repo. I get an error while downloading dependencies.
➜ example-operator: go mod vendor go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 go: git.apache.org/[email protected]: git -c protocol.version=0 fetch --unshallow -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/udayvishwakarma/github/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128: fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Operation timed out go: error loading module requirements
What did you expect to see?
It created the boilerplate folder structure with files. when I run go mod vendor it should download all the dependencies .
What did you see instead? Under which circumstances?
I get an error when it tries to download https://git.apache.org/thrift.git. error is below
go mod vendor
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: git.apache.org/[email protected]: git -c protocol.version=0 fetch --unshallow -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/udayvishwakarma/github/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Operation timed out
go: error loading module requirements
Are you writing your operator in ansible, helm, or go? go
Possible Solution
replace https://git.apache.org/thrift.git/ in dependencies with github.com/apache/thrift
Additional context
I didn't find git.apache.org/thrift in go.mod of the boilerplate generated by operator-sdk. I searched whole project i was not able to find
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
What did you do?
I tried to create a new operator from the latest release from this repo. I get an error while downloading dependencies.
➜ example-operator: go mod vendor go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 go: git.apache.org/[email protected]: git -c protocol.version=0 fetch --unshallow -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/udayvishwakarma/github/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128: fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Operation timed out go: error loading module requirements
What did you expect to see?
It created the boilerplate folder structure with files. when I run
go mod vendor
it should download all the dependencies .What did you see instead? Under which circumstances?
I get an error when it tries to download
https://git.apache.org/thrift.git
. error is belowEnvironment
operator-sdk version: v0.10.0, commit: ff80b17
go version go1.12.7 darwin/amd64
Kubernetes cluster kind: minikube
Are you writing your operator in ansible, helm, or go? go
Possible Solution
replace
https://git.apache.org/thrift.git/
in dependencies withgit.colasdn.top/apache/thrift
Additional context
I didn't find
git.apache.org/thrift
ingo.mod
of the boilerplate generated by operator-sdk. I searched whole project i was not able to findThe text was updated successfully, but these errors were encountered: