Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixing minor documentation issue with how we pass in a lease with put.
  • Loading branch information
davissp14 committed May 22, 2018
1 parent 32dff4f commit 1530e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -110,7 +110,7 @@ conn.auth_disable
conn.lease_grant(100)

# Attach key to lease
conn.put('foo', 'bar', lease_id: 1234566789)
conn.put('foo', 'bar', lease: 1234566789)

# Get information about lease and its attached keys
conn.lease_ttl(1234566789)
Expand Down

0 comments on commit 1530e18

Please sign in to comment.