Skip to content

Commit

Permalink
Fix invalid private variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
tjamet committed Aug 13, 2024
1 parent c99b2ec commit c81ca76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/cached_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type CachedProvider struct {
}

func NewCachedProvider(provider Provider, refreshDelay time.Duration) *CachedProvider {
registerMetrics.Do(func() {
registerCacheProviderMetrics.Do(func() {
prometheus.MustRegister(cachedRecordsCallsTotal)
})
return &CachedProvider{
Expand Down

0 comments on commit c81ca76

Please sign in to comment.