Skip to content

Commit ef492d4

Browse files
committed
proxy: fix test
1 parent 0aa04b3 commit ef492d4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: proxy/stats.go

-4
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ func collectUpstreamStats(upstreams []upstream.Upstream) (stats []*UpstreamStati
212212
}
213213

214214
dur, err := w.queryDuration, w.err
215-
if dur == 0 {
216-
continue
217-
}
218-
219215
stats = append(stats, &UpstreamStatistics{
220216
Error: err,
221217
Address: w.Address(),

0 commit comments

Comments
 (0)