diff --git a/pkg/collector/service/service.go b/pkg/collector/service/service.go index 6b9fc41a..95153ac9 100644 --- a/pkg/collector/service/service.go +++ b/pkg/collector/service/service.go @@ -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)