Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei committed Jun 25, 2022
1 parent 07ffc99 commit 99423d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br/pkg/stream/stream_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ func MaybeQPS(ctx context.Context, mgr *conn.Mgr) (float64, error) {
if err != nil {
return 0, err
}
//nolint: errcheck
defer before.Body.Close()
data, err := io.ReadAll(before.Body)
if err != nil {
Expand Down

0 comments on commit 99423d3

Please sign in to comment.