mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-22 20:27:01 +08:00
reverseproxy: Fix reinitialize upstream healthy metrics (#5498)
Co-authored-by: Dávid Szabó <david.szabo97@gmail.com>
This commit is contained in:
parent
3443a8a056
commit
2b04e09fa7
|
@ -39,6 +39,8 @@ func newMetricsUpstreamsHealthyUpdater(handler *Handler) *metricsUpstreamsHealth
|
|||
initReverseProxyMetrics(handler)
|
||||
})
|
||||
|
||||
reverseProxyMetrics.upstreamsHealthy.Reset()
|
||||
|
||||
return &metricsUpstreamsHealthyUpdater{handler}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user