This repository has been archived by the owner on Jun 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
go2sky conflict with etcdv3 #69
Comments
@arugal Do we have dependency about etcd? I am confused. |
Hi @lchb369, It seems that your situation is the same with this issue, do you use |
|
gRPC v1.27 is not compatible with etcd v3.3.18,you can upgrade etcd version to v3.4,see this issue. |
//解决etcdv3与grpc冲突问题https://www.jianshu.com/p/1971a27096b9 |
@arugal yes,I am use go-micro |
@lchb369 The cause has been found. Closed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
import (
"context"
"github.com/SkyAPM/go2sky"
"github.com/SkyAPM/go2sky/reporter"
_ "github.com/coreos/etcd/clientv3"
"github.com/robfig/cron"
"log"
"time"
)
report error:
GOROOT=C:\Go #gosetup
GOPATH=D:\gopath #gosetup
C:\Go\bin\go.exe build -o C:\Users\admin\AppData\Local\Temp__go_build_main_go__1.exe -gcflags "all=-N -l" D:\projects\go-micro-demo\micro\crontab-service\main.go #gosetup
github.com/coreos/etcd/clientv3/balancer/resolver/endpoint
D:\gopath\pkg\mod\github.com\coreos\etcd@v3.3.18+incompatible\clientv3\balancer\resolver\endpoint\endpoint.go:114:78: undefined: resolver.BuildOption
D:\gopath\pkg\mod\github.com\coreos\etcd@v3.3.18+incompatible\clientv3\balancer\resolver\endpoint\endpoint.go:182:31: undefined: resolver.ResolveNowOption
github.com/coreos/etcd/clientv3/balancer/picker
D:\gopath\pkg\mod\github.com\coreos\etcd@v3.3.18+incompatible\clientv3\balancer\picker\err.go:37:44: undefined: balancer.PickOptions
D:\gopath\pkg\mod\github.com\coreos\etcd@v3.3.18+incompatible\clientv3\balancer\picker\roundrobin_balanced.go:55:54: undefined: balancer.PickOptions
Compilation finished with exit code 2
The text was updated successfully, but these errors were encountered: