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: ignore value in updatedir command #4150

Merged
merged 1 commit into from
Jan 7, 2016

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Jan 7, 2016

Fixes #4145.
client.KeysAPI ignores value if SetOptions.Dir is true.

/cc @xiang90

Fixes coreos#4145.
client.KeysAPI ignores value if SetOptions.Dir is true.
@gyuho
Copy link
Contributor Author

gyuho commented Jan 7, 2016

@xiang90 Tried this and worked:

./etcdctl setdir --ttl=60 /foo && ./etcdctl updatedir --ttl=60 /foo;

@xiang90
Copy link
Contributor

xiang90 commented Jan 7, 2016

LGTM

@gyuho
Copy link
Contributor Author

gyuho commented Jan 7, 2016

Thanks, will merge after CI passes.

gyuho added a commit that referenced this pull request Jan 7, 2016
etcdctl: get only the first argument for updatedir
@gyuho gyuho merged commit f91d96c into etcd-io:master Jan 7, 2016
@gyuho gyuho changed the title etcdctl: get only the first argument for updatedir etcdctl: ignore value in updatedir command Jan 7, 2016
@gyuho gyuho deleted the fix_arg_update_dir branch January 31, 2016 00:43
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.

None yet

2 participants