From 661c7d633917a32aa5c41ec1213e28f696652d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 2 Jul 2019 19:30:37 +0200 Subject: [PATCH] rpclib: Address review --- rpclib/{rpcClient.go => rpc_client.go} | 0 rpclib/{rpcServer.go => rpc_server.go} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename rpclib/{rpcClient.go => rpc_client.go} (100%) rename rpclib/{rpcServer.go => rpc_server.go} (99%) diff --git a/rpclib/rpcClient.go b/rpclib/rpc_client.go similarity index 100% rename from rpclib/rpcClient.go rename to rpclib/rpc_client.go diff --git a/rpclib/rpcServer.go b/rpclib/rpc_server.go similarity index 99% rename from rpclib/rpcServer.go rename to rpclib/rpc_server.go index cb47898c0..23abcb9bd 100644 --- a/rpclib/rpcServer.go +++ b/rpclib/rpc_server.go @@ -156,7 +156,7 @@ func (s *RPCServer) rpcError(w http.ResponseWriter, req *request, code int, err Id: *req.Id, Error: &respError{ Code: code, - Message: err.(error).Error(), + Message: err.Error(), }, }