Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
Signed-off-by: crazycs520 <crazycs520@gmail.com>
  • Loading branch information
crazycs520 committed Mar 14, 2024
1 parent de28a14 commit fa859bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/copr/coprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ type HasUnconsumedCopRuntimeStats interface {
}

func (it *copIterator) CollectUnconsumedCopRuntimeStats() []*CopRuntimeStats {
if it == nil {
if it == nil || it.unconsumedStats == nil {
return nil
}
it.unconsumedStats.Lock()
Expand Down

0 comments on commit fa859bb

Please sign in to comment.