Skip to content

Commit

Permalink
service: [0.27.x] fix panic with NewWithConfig code path (#1646)
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Baranowski <erik.r.baranowski@gmail.com>
  • Loading branch information
jkroepke and erikbaranowski authored Sep 28, 2024
1 parent 4e460bc commit 1e381f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/collector/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func New(logger log.Logger, config *Config) *Collector {
c := &Collector{
serviceWhereClause: &config.ServiceWhereClause,
useAPI: &config.UseAPI,
v2: &config.V2,
}
c.SetLogger(logger)

Expand Down

0 comments on commit 1e381f8

Please sign in to comment.