Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
imtbkcat committed Jul 30, 2019
1 parent eb08f73 commit 96dbf34
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/http_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (s *Server) newTikvHandlerTool() *tikvHandlerTool {
type mvccKV struct {
Key string `json:"key"`
Value *kvrpcpb.MvccGetByKeyResponse `json:"value"`
RegionID uint64 `json:"region-id"`
RegionID uint64 `json:"region_id"`
}

func (t *tikvHandlerTool) getMvccByHandle(tableID, handle int64) (*mvccKV, error) {
Expand Down Expand Up @@ -1349,9 +1349,6 @@ func (h mvccTxnHandler) handleMvccGetByKey(params map[string]string, decodeData
colMap[col.ID] = &col.FieldType
}

if err != nil {
return nil, err
}
respValue := resp.Value
var result interface{} = resp
if respValue.Info != nil {
Expand Down

0 comments on commit 96dbf34

Please sign in to comment.