clientv3util: fix govet warning

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-02-26 10:05:24 -08:00
parent ab33978646
commit 9c9d846959

View File

@ -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"},
}) })