Skip to content

Commit

Permalink
fix: metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
acha-bill committed Oct 17, 2023
1 parent 700b408 commit a196a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/check/longavailability/longavailability.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, o interf
t := &test{
node: node,
logger: c.logger,
metrics: c.metrics,
metrics: &c.metrics,
retryCount: opts.RetryCount,
retryWait: opts.RetryWait,
}
Expand Down Expand Up @@ -110,7 +110,7 @@ func findRandomNode(ctx context.Context, addr swarm.Address, cluster orchestrati
type test struct {
node orchestration.Node
logger logging.Logger
metrics metrics
metrics *metrics
retryCount int
retryWait time.Duration
}
Expand Down

0 comments on commit a196a6d

Please sign in to comment.