Browse Source

e2e: remove duplicate error check

Sam Batschelet 7 years ago
parent
commit
e8d58430a6
1 changed files with 0 additions and 3 deletions
  1. 0 3
      e2e/v3_curl_test.go

+ 0 - 3
e2e/v3_curl_test.go

@@ -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),