Browse Source

clientv3util: fix govet warning

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
9c9d846959
1 changed files with 2 additions and 2 deletions
  1. 2 2
      clientv3/clientv3util/example_key_test.go

+ 2 - 2
clientv3/clientv3util/example_key_test.go

@@ -22,7 +22,7 @@ import (
 	"github.com/coreos/etcd/clientv3/clientv3util"
 )
 
-func ExampleKeyExists_put() {
+func ExampleKeyMissing() {
 	cli, err := clientv3.New(clientv3.Config{
 		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{
 		Endpoints: []string{"127.0.0.1:2379"},
 	})