Skip to content

Commit

Permalink
service: [0.28.x] fix panic with NewWithConfig code path (#1647)
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Baranowski <[email protected]>
  • Loading branch information
jkroepke and erikbaranowski authored Sep 28, 2024
1 parent 9febf1e commit bf6688c
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(config *Config) *Collector {
c := &Collector{
serviceWhereClause: &config.ServiceWhereClause,
useAPI: &config.UseAPI,
v2: &config.V2,
}

return c
Expand Down

0 comments on commit bf6688c

Please sign in to comment.