mirror of
https://github.com/caddyserver/caddy.git
synced 2026-10-19 18:53:56 -04:00
reverseproxy: Fix reinitialize upstream healthy metrics (#5498)
Co-authored-by: Dávid Szabó <david.szabo97@gmail.com>
This commit is contained in:
1 parent
3443a8a056
commit
2b04e09fa7
1 file changed
+2
@@ -39,6 +39,8 @@ func newMetricsUpstreamsHealthyUpdater(handler *Handler) *metricsUpstreamsHealth
|
||||
initReverseProxyMetrics(handler)
|
||||
})
|
||||
|
||||
reverseProxyMetrics.upstreamsHealthy.Reset()
|
||||
|
||||
return &metricsUpstreamsHealthyUpdater{handler}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user