Method: Etcdv3#lease_ttl
- Defined in:
- lib/etcdv3.rb
#lease_ttl(id, timeout: nil) ⇒ Object
Returns information regarding the current state of the lease
162 163 164 |
# File 'lib/etcdv3.rb', line 162 def lease_ttl(id, timeout: nil) @conn.handle(:lease, 'lease_ttl', [id, timeout: timeout]) end |