Skip to content

Commit

Permalink
pass logger to provider struct
Browse files Browse the repository at this point in the history
  • Loading branch information
roystchiang committed Jul 26, 2021
1 parent af820e7 commit 0d203b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/discovery/memcache/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewProvider(logger log.Logger, reg prometheus.Registerer, dialTimeout time.
Name: "auto_discovery_failures_total",
Help: "The number of memcache auto discovery failures",
}),
logger: logger,
}
return p
}
Expand Down

0 comments on commit 0d203b9

Please sign in to comment.