mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
clientv3util: fix govet warning
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
ab33978646
commit
9c9d846959
@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/coreos/etcd/clientv3/clientv3util"
|
"github.com/coreos/etcd/clientv3/clientv3util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleKeyExists_put() {
|
func ExampleKeyMissing() {
|
||||||
cli, err := clientv3.New(clientv3.Config{
|
cli, err := clientv3.New(clientv3.Config{
|
||||||
Endpoints: []string{"127.0.0.1:2379"},
|
Endpoints: []string{"127.0.0.1:2379"},
|
||||||
})
|
})
|
||||||
@ -45,7 +45,7 @@ func ExampleKeyExists_put() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleKeyExists_delete() {
|
func ExampleKeyExists() {
|
||||||
cli, err := clientv3.New(clientv3.Config{
|
cli, err := clientv3.New(clientv3.Config{
|
||||||
Endpoints: []string{"127.0.0.1:2379"},
|
Endpoints: []string{"127.0.0.1:2379"},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user