Skip to content

Commit

Permalink
Merge pull request #6418 from sinsharat/update_readme
Browse files Browse the repository at this point in the history
etcdctl\ctlv3: updated readme.md for timetolive example
  • Loading branch information
gyuho authored Sep 13, 2016
2 parents e6a7f25 + 6f4e369 commit afef9cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etcdctl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,10 @@ LEASE TIMETOLIVE retrieves the lease information with the given lease ID.
# lease 2d8257079fa1bc0c granted with TTL(500s)

./etcdctl put foo1 bar --lease=2d8257079fa1bc0c
# OK

./etcdctl put foo2 bar --lease=2d8257079fa1bc0c
# OK

./etcdctl lease timetolive 2d8257079fa1bc0c
# lease 2d8257079fa1bc0c granted with TTL(500s), remaining(481s)
Expand Down

0 comments on commit afef9cc

Please sign in to comment.