-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
etcdctl: make commands use etcd/client #2913
Conversation
4cf1525
to
be344d9
Compare
|
||
if resp.Node.Dir { | ||
fmt.Fprintln(os.Stderr, fmt.Sprintf("%s: is a directory", resp.Node.Key)) | ||
os.Exit(1) |
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.
use handleError too?
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 intention is to port to use new client. i do not want to clean up this kind of thing for the old codebase right now (since there are quite a lot).
FYI if you end up working on the watcher part of this, you might have issues canceling the watcher with |
@ecnahc515 Thanks. I will take a look. |
ebd600e
to
910d110
Compare
Closing. Will merge into 2.2 dev branch. |
No description provided.