-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
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
WIP:standalone raftexample #41
Conversation
I have this error while vendoring
|
Signed-off-by: Mustafa Elbehery <[email protected]>
fa22b82
to
4566d80
Compare
@serathius hello ✋🏽 I am sorry to cite you again about that :), i am just stuck with this maybe if the refactoring PR from etcd-io/etcd#15471 is merged, it is better ? |
thanks @ahrtr So i moved the raft example to this repo, but the dependencies are needed by the example, how can I move it here ? I tried to move the minimal code needed |
It isn't correct. The original raftexample is just for your reference. You need to create a new self-contained example, which shouldn't depend on etcd at all. |
Ok, now it makes sense to me .. I apologise for not understanding fully since the beginning .. Is it possible to move etcd-io/etcd#15471 forward, because using interfaces could make it simpler ? |
Yes, it makes sense to me. But you also need to remove the dependency on etcd. |
thanks a lot for your clarification 🙏🏽 |
Signed-off-by: Mustafa Elbehery [email protected]
resolves #2
This PR contains only https://github.com/etcd-io/etcd/tree/main/contrib/raftexample files
I try to use go modules, but I have issue vendoring
wal
from etcd repocc @ahrtr @spzala