Skip to content

Commit

Permalink
executor: use const varialbe for index merge handleWorkerPanic
Browse files Browse the repository at this point in the history
Signed-off-by: guo-shaoge <shaoge1994@163.com>
  • Loading branch information
guo-shaoge committed Feb 5, 2023
1 parent bc2c1b2 commit cbf8dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/index_merge_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func (e *IndexMergeReaderExecutor) startPartialIndexWorker(ctx context.Context,
}
}
},
handleWorkerPanic(ctx, e.finished, fetchCh, nil, "partialIndexWorker"),
handleWorkerPanic(ctx, e.finished, fetchCh, nil, partialIndexWorkerType),
)
}()

Expand Down Expand Up @@ -516,7 +516,7 @@ func (e *IndexMergeReaderExecutor) startPartialTableWorker(ctx context.Context,
}
}
},
handleWorkerPanic(ctx, e.finished, fetchCh, nil, "partialTableWorker"),
handleWorkerPanic(ctx, e.finished, fetchCh, nil, partialTableWorkerType),
)
}()
return nil
Expand Down

0 comments on commit cbf8dfa

Please sign in to comment.