We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inet.af/netaddr
Server
编译server时,依赖inet.af/netaddr无法下载,报错内容为
github.com/deepflowio/deepflow/server/controller/election imports k8s.io/client-go/tools/leaderelection tested by k8s.io/client-go/tools/leaderelection.test imports k8s.io/client-go/tools/record imports github.com/golang/groupcache/lru: inet.af/netaddr@v0.0.0-20211027220019-c74959edd3b6: unrecognized import path "inet.af/netaddr": https fetch: Get "https://inet.af/netaddr?go-get=1": dial tcp: lookup inet.af on 8.8.8.8:53: no such host
导致该问题的原因可以在 https://github.com/inetaf 看到
目前我的解决办法时在go.mod 上增加replace设置
replace inet.af/netaddr => github.com/inetaf/netaddr v0.0.0-20211027220019-c74959edd3b6
The text was updated successfully, but these errors were encountered:
可通过调整编译环境解决,PR 6385 中已经去掉了 go mod replace
Sorry, something went wrong.
No branches or pull requests
DeepFlow Component
Server
What you expected to happen
编译server时,依赖
inet.af/netaddr
无法下载,报错内容为导致该问题的原因可以在 https://github.com/inetaf 看到
目前我的解决办法时在go.mod 上增加replace设置
Code of Conduct
The text was updated successfully, but these errors were encountered: