Skip to content

Commit

Permalink
Update br/pkg/lightning/lightning.go
Browse files Browse the repository at this point in the history
Co-authored-by: D3Hunter <jujj603@gmail.com>
  • Loading branch information
lance6716 and D3Hunter authored Nov 18, 2022
1 parent fc05171 commit 6e22499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br/pkg/lightning/lightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ func (l *Lightning) Status() (finished int64, total int64) {
}

// Metrics returns the metrics of lightning.
// it's inited during `run`, so might return nil.
func (l *Lightning) Metrics() *metric.Metrics {
return l.metrics
}
Expand Down

0 comments on commit 6e22499

Please sign in to comment.