Skip to content

Commit

Permalink
proxy: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Jan 21, 2025
1 parent 0aa04b3 commit ef492d4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions proxy/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,6 @@ func collectUpstreamStats(upstreams []upstream.Upstream) (stats []*UpstreamStati
}

dur, err := w.queryDuration, w.err
if dur == 0 {
continue
}

stats = append(stats, &UpstreamStatistics{
Error: err,
Address: w.Address(),
Expand Down

0 comments on commit ef492d4

Please sign in to comment.