Skip to content

Commit

Permalink
[FAB-6964] fix load-tester compilation issue
Browse files Browse the repository at this point in the history
Revoke api returns result along with error, corrected the same
in test code

Change-Id: I0f1099bd303950cbd67605d932c574212c553b6d
Signed-off-by: ratnakar <[email protected]>
  • Loading branch information
asararatnakar committed Nov 10, 2017
1 parent 236ae62 commit ae842d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/fabric-ca-load-tester/testClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ func (c *testClient) revoke(req TestRequest, id *lib.Identity, reason string) (e
revokeReq.AKI = aki
revokeReq.Serial = serial
}
err = c.Identity.Revoke(revokeReq)
result, err := c.Identity.Revoke(revokeReq)
log.Printf("Sucessfully revoked certificates: %+v", result.RevokedCerts)
if err == nil {
log.Printf(msg)
}
Expand Down

0 comments on commit ae842d0

Please sign in to comment.