Skip to content

Commit 427a799

Browse files
authored
doc: api_v3.md prototol ->protocol (#62)
1 parent d6e0023 commit 427a799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api_v3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Method
3939
The client methods returns either a `etcd` object or an `error string`.
4040

4141
```lua
42-
local cli, err = require("resty.etcd").new({prototol = "v3"})
42+
local cli, err = require("resty.etcd").new({protocol = "v3"})
4343
```
4444

4545
Please refer the **etcd API documentaion** at - https://github.com/coreos/etcd for more details.
@@ -260,4 +260,4 @@ local res, err = cli:txn(compare, success, nil)
260260

261261
Gets the etcd version info.
262262

263-
[Back to TOP](#api-v3)
263+
[Back to TOP](#api-v3)

0 commit comments

Comments
 (0)