From 47c558e605ace1ef3dbe67391df9c2d3fea76c63 Mon Sep 17 00:00:00 2001 From: Oleg Guba Date: Thu, 27 Oct 2022 02:02:39 -0700 Subject: [PATCH] [e2e] don't pass --endpoints flag in test HashKV implementation Signed-off-by: Oleg Guba --- tests/framework/e2e/etcdctl.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/framework/e2e/etcdctl.go b/tests/framework/e2e/etcdctl.go index 12534d152..44aa60522 100644 --- a/tests/framework/e2e/etcdctl.go +++ b/tests/framework/e2e/etcdctl.go @@ -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 }