Skip to content

Commit

Permalink
Fix fmt error
Browse files Browse the repository at this point in the history
Signed-off-by: Bin Shi <binshi.bing@gmail.com>
  • Loading branch information
binshi-bing committed May 20, 2023
1 parent b40b029 commit c998fbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/grpc_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -1507,21 +1507,21 @@ func (s *GrpcServer) GetGCSafePointV2(_ context.Context, _ *pdpb.GetGCSafePointV
return nil, errors.New("not implemented")
}

// GetGCSafePointV2 implements gRPC PDServer.
// WatchGCSafePointV2 implements gRPC PDServer.
// Note: we need latest version of kvproto/master, but there was earlier commit https://github.com/pingcap/kvproto/pull/1111
// whose server side implementation hasn't been merged, so we add this method to avoid compile error.
func (s *GrpcServer) WatchGCSafePointV2(_ *pdpb.WatchGCSafePointV2Request, server pdpb.PD_WatchGCSafePointV2Server) error {
return errors.New("not implemented")
}

// GetGCSafePointV2 implements gRPC PDServer.
// UpdateGCSafePointV2 implements gRPC PDServer.
// Note: we need latest version of kvproto/master, but there was earlier commit https://github.com/pingcap/kvproto/pull/1111
// whose server side implementation hasn't been merged, so we add this method to avoid compile error.
func (s *GrpcServer) UpdateGCSafePointV2(_ context.Context, _ *pdpb.UpdateGCSafePointV2Request) (*pdpb.UpdateGCSafePointV2Response, error) {
return nil, errors.New("not implemented")
}

// GetGCSafePointV2 implements gRPC PDServer.
// UpdateServiceSafePointV2 implements gRPC PDServer.
// Note: we need latest version of kvproto/master, but there was earlier commit https://github.com/pingcap/kvproto/pull/1111
// whose server side implementation hasn't been merged, so we add this method to avoid compile error.
func (s *GrpcServer) UpdateServiceSafePointV2(_ context.Context, _ *pdpb.UpdateServiceSafePointV2Request) (*pdpb.UpdateServiceSafePointV2Response, error) {
Expand Down

0 comments on commit c998fbf

Please sign in to comment.