This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 98c6e6b  [master] remove redundant code
98c6e6b is described below

commit 98c6e6b4187d2d05483aeee8ea0c7b3c6c5e3bb9
Author: Alexey Serbin <[email protected]>
AuthorDate: Fri Sep 11 16:28:08 2020 -0700

    [master] remove redundant code
    
    This patch does not contain any functional changes.
    
    Change-Id: I6251c90625532ed1d7b01d85d3a14c1eabf649c7
    Reviewed-on: http://gerrit.cloudera.org:8080/16442
    Reviewed-by: Andrew Wong <[email protected]>
    Tested-by: Alexey Serbin <[email protected]>
---
 src/kudu/master/master_service.cc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/kudu/master/master_service.cc 
b/src/kudu/master/master_service.cc
index c4c31c9..73c85ca 100644
--- a/src/kudu/master/master_service.cc
+++ b/src/kudu/master/master_service.cc
@@ -546,11 +546,6 @@ void MasterServiceImpl::GetTableSchema(const 
GetTableSchemaRequestPB* req,
   }
 
   CheckRespErrorOrSetUnknown(s, resp);
-  if (resp->has_error()) {
-    // If there was an application error, respond to the RPC.
-    rpc->RespondSuccess();
-    return;
-  }
   rpc->RespondSuccess();
 }
 

Reply via email to