Fixes README.md in #32.

Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
This commit is contained in:
Tao He 2021-01-27 20:53:43 +08:00
parent b27f6963aa
commit cd6e85dacf
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ The remaining time-to-live of a lease can be inspected by
Keep alive for leases is implemented using a seperate class `KeepAlive`, which can be used as: Keep alive for leases is implemented using a seperate class `KeepAlive`, which can be used as:
```c++ ```c++
etcd::KeepAlive keepalive(etcd, lease_id, ttl); etcd::KeepAlive keepalive(etcd, ttl, lease_id);
``` ```
It will perform a periodly keep-alive action before it is cancelled explicitly, or destructed implicitly. It will perform a periodly keep-alive action before it is cancelled explicitly, or destructed implicitly.