Skip to content
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

Closed
wants to merge 16 commits into from
Closed

Conversation

xiang90
Copy link
Contributor

@xiang90 xiang90 commented Jun 4, 2015

No description provided.

@xiang90 xiang90 added the etcdctl label Jun 4, 2015
@xiang90 xiang90 changed the title etcdctl: make get command use etcd/client etcdctl: make get/set command use etcd/client Jun 4, 2015
@xiang90 xiang90 force-pushed the ctl-get branch 2 times, most recently from 4cf1525 to be344d9 Compare June 4, 2015 16:05

if resp.Node.Dir {
fmt.Fprintln(os.Stderr, fmt.Sprintf("%s: is a directory", resp.Node.Key))
os.Exit(1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use handleError too?

Copy link
Contributor Author

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).

@chancez
Copy link
Contributor

chancez commented Jun 5, 2015

FYI if you end up working on the watcher part of this, you might have issues canceling the watcher with etcd/client. Just a heads up, this is what I found #2669

@xiang90
Copy link
Contributor Author

xiang90 commented Jun 5, 2015

@ecnahc515 Thanks. I will take a look.

@xiang90 xiang90 changed the title etcdctl: make get/set command use etcd/client etcdctl: make commands use etcd/client Jun 5, 2015
@xiang90 xiang90 force-pushed the ctl-get branch 2 times, most recently from ebd600e to 910d110 Compare June 6, 2015 00:08
@xiang90 xiang90 added this to the v2.2.0 milestone Jun 6, 2015
@xiang90
Copy link
Contributor Author

xiang90 commented Jun 30, 2015

Closing. Will merge into 2.2 dev branch.

@xiang90 xiang90 closed this Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants