Merge pull request #3658 from mqliang/patch-2

docs/api.md: fix documentation
release-2.3
Yicheng Qin 2015-10-08 19:51:54 -07:00
commit eadfd138a4
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ The current comparable conditions are:
2. `prevIndex` - checks the previous modifiedIndex of the key.
3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if prevExist is `false`, it is a `create` request.
3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if `prevExist` is `false`, it is a `create` request.
Here is a simple example.
Let's create a key-value pair first: `foo=one`.