Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <yu745514916@live.com>
  • Loading branch information
YuJuncen committed Apr 18, 2024
1 parent 1f40608 commit 714aac5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br/pkg/streamhelper/flush_subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func (f *FlushSubscriber) UpdateStoreTopology(ctx context.Context) error {
func (f *FlushSubscriber) Clear() {
timeout := clearSubscriberTimeOut
failpoint.Inject("FlushSubscriber.Clear.timeoutMs", func(v failpoint.Value) {
//nolint:durationcheck
timeout = time.Duration(v.(int)) * time.Millisecond
})
log.Info("Clearing.",
Expand Down

0 comments on commit 714aac5

Please sign in to comment.