mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 01:09:36 +02:00
rename runPeriodicHealthChecksLeased
This commit is contained in:
parent
1ec9c53608
commit
bd1377a5c7
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ func (c *controller) runZeroControlLoop(ctx context.Context) error {
|
|||
WithLease(
|
||||
c.runReconcilerLeased,
|
||||
c.runSessionAnalyticsLeased,
|
||||
c.runPeriodicHealthChecksLeased,
|
||||
c.runHealthChecksLeased,
|
||||
leaseStatus.MonitorLease,
|
||||
),
|
||||
)
|
||||
|
@ -194,7 +194,7 @@ func (c *controller) runSessionAnalyticsLeased(ctx context.Context, client datab
|
|||
})
|
||||
}
|
||||
|
||||
func (c *controller) runPeriodicHealthChecksLeased(ctx context.Context, client databroker.DataBrokerServiceClient) error {
|
||||
func (c *controller) runHealthChecksLeased(ctx context.Context, client databroker.DataBrokerServiceClient) error {
|
||||
return retry.WithBackoff(ctx, "zero-healthcheck", func(ctx context.Context) error {
|
||||
checker := healthcheck.NewChecker(c.bootstrapConfig, client)
|
||||
eg, ctx := errgroup.WithContext(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue