[e2e] don't pass --endpoints flag in test HashKV implementation

Signed-off-by: Oleg Guba <oleg@dropbox.com>
This commit is contained in:
Oleg Guba
2022-10-27 02:02:39 -07:00
parent 9bc4a63a41
commit 47c558e605

View File

@@ -23,11 +23,12 @@ import (
"strings"
"time"
"google.golang.org/grpc"
"go.etcd.io/etcd/api/v3/authpb"
"go.etcd.io/etcd/api/v3/etcdserverpb"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/tests/v3/framework/config"
"google.golang.org/grpc"
)
type EtcdctlV3 struct {
@@ -355,7 +356,7 @@ func (ctl *EtcdctlV3) HashKV(ctx context.Context, rev int64) ([]*clientv3.HashKV
Endpoint string
HashKV *clientv3.HashKVResponse
}
err := ctl.spawnJsonCmd(ctx, &epHashKVs, "endpoint", "hashkv", "--endpoints", strings.Join(ctl.endpoints, ","), "--rev", fmt.Sprint(rev))
err := ctl.spawnJsonCmd(ctx, &epHashKVs, "endpoint", "hashkv", "--rev", fmt.Sprint(rev))
if err != nil {
return nil, err
}