-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add support for etcd #61
Conversation
} | ||
|
||
func (c Etcd) deregisterService(service *ServiceConfig) error { | ||
_, err := c.API.Delete(context.Background(), c.getNodeKey(service), &client.DeleteOptions{Dir: true, Recursive: true}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you break this long line?
@justenwalker we've got a merge conflict here now that #59 has been merged. |
ece01d6
to
639bf3f
Compare
@tgross rebased |
- 4001:4001 | ||
restart: always | ||
|
||
nginx: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ports/expose spec for this should be:
ports:
- 80
without an expose
stanza.
- Make error checks idiomatic - Make intent clear with comments
dde459f
to
f3cd1d1
Compare
@tgross rebased |
Awesome. Let's ship it! |
Adds etcd as an alternate discovery backend
Changes
github.com/coreos/etcd/client
make run-consul
to run the consul examplemake run-etcd
to run the etcd examplemake clean-consul
to stop and clean up the consul examplemake clean-etcd
to stop and clean up the etcd exampleFor #11
🎊 Happy New Year 🎊