Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
  • Loading branch information
Tristan1900 committed Nov 25, 2024
1 parent 1a27661 commit 4c3308a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion br/pkg/restore/log_client/import_retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ func (r *RPCResult) StrategyForRetryStoreError() RetryStrategy {
}

func (r *RPCResult) StrategyForRetryGoError() RetryStrategy {

// we should unwrap the error or we cannot get the write gRPC status.
if gRPCErr, ok := status.FromError(errors.Cause(r.Err)); ok {
switch gRPCErr.Code() {
Expand Down

0 comments on commit 4c3308a

Please sign in to comment.