Skip to content

Commit 118fd18

Browse files
authored
Merge pull request #6894 from gyuho/preserve-value
*: 'ignore_value' to detach lease with PutRequest
2 parents 4730bdd + 0f8060b commit 118fd18

File tree

17 files changed

+740
-432
lines changed

17 files changed

+740
-432
lines changed

Documentation/dev-guide/api_reference_v3.md

+1
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ Empty field.
616616
| value | value is the value, in bytes, to associate with the key in the key-value store. | bytes |
617617
| 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 |
618618
| 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 |
619+
| 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 |
619620

620621

621622

0 commit comments

Comments
 (0)