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 lock --ttl unknown flag #8875

Closed
luomiao opened this issue Nov 15, 2017 · 1 comment
Closed

etcdctl lock --ttl unknown flag #8875

luomiao opened this issue Nov 15, 2017 · 1 comment

Comments

@luomiao
Copy link

luomiao commented Nov 15, 2017

Hi,

I am trying out the ttl flag for etcdctl lock command. According to PR #8370, etcdctl should have a "--ttl" option to setup the timeout for session:

$ ETCDCTL_API=3 ./etcdctl lock --help
NAME:
lock - Acquires a named lock

USAGE:
etcdctl lock [exec-command arg1 arg2 ...]

OPTIONS:
--ttl=10 timeout for session

However after I downloaded v3.2.9 etcdctl, on either mac or linux I got the same complain of unknown flag:

ETCDCTL_API=3 etcdctl lock --ttl=10
Error: unknown flag: --ttl
NAME:
	lock - Acquires a named lock

USAGE:
	etcdctl lock <lockname> [exec-command arg1 arg2 ...]

GLOBAL OPTIONS:
...

Anyone has any idea why this flag is disappeared with v3.2.9?
I think this PR is merged into master branch in August, while 3.2.9 is released in October. Is it possible that it's not included into the latest release?

Thanks!

@gyuho
Copy link
Contributor

gyuho commented Nov 15, 2017

It has not been released (ref #8370).
It will be shipped in 3.3 releases early next year.

@gyuho gyuho closed this as completed Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants