mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
e2e: remove duplicate error check
This commit is contained in:
parent
c22afc2d71
commit
e8d58430a6
@ -322,9 +322,6 @@ func testV3CurlProclaimMissiongLeaderKey(cx ctlCtx) {
|
||||
if err != nil {
|
||||
cx.t.Fatal(err)
|
||||
}
|
||||
if err != nil {
|
||||
cx.t.Fatal(err)
|
||||
}
|
||||
if err = cURLPost(cx.epc, cURLReq{
|
||||
endpoint: path.Join(cx.apiPrefix, "/election/proclaim"),
|
||||
value: string(pdata),
|
||||
|
Loading…
x
Reference in New Issue
Block a user