Skip to content

Commit

Permalink
Merge pull request #6894 from gyuho/preserve-value
Browse files Browse the repository at this point in the history
*: 'ignore_value' to detach lease with PutRequest
  • Loading branch information
gyuho committed Jan 14, 2017
2 parents 4730bdd + 0f8060b commit 118fd18
Show file tree
Hide file tree
Showing 17 changed files with 740 additions and 432 deletions.
1 change: 1 addition & 0 deletions Documentation/dev-guide/api_reference_v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ Empty field.
| value | value is the value, in bytes, to associate with the key in the key-value store. | bytes |
| lease | lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease. | int64 |
| prev_kv | If prev_kv is set, etcd gets the previous key-value pair before changing it. The previous key-value pair will be returned in the put response. | bool |
| ignore_value | If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist. | bool |



Expand Down
Loading

0 comments on commit 118fd18

Please sign in to comment.