mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #14607 from veshij/hashkv
[e2e] Fix bug in EtcdctlV3.HashKV() e2e implementation.
This commit is contained in:
commit
b5751636e3
@ -337,8 +337,8 @@ func (ctl *EtcdctlV3) HashKV(ctx context.Context, rev int64) ([]*clientv3.HashKV
|
||||
return nil, err
|
||||
}
|
||||
resp := make([]*clientv3.HashKVResponse, len(epHashKVs))
|
||||
for _, e := range epHashKVs {
|
||||
resp = append(resp, e.HashKV)
|
||||
for i, e := range epHashKVs {
|
||||
resp[i] = e.HashKV
|
||||
}
|
||||
return resp, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user