mirror of
https://github.com/prometheus-community/windows_exporter
synced 2024-12-28 01:12:06 +00:00
Merge pull request #1339 from mattdurham/fix_unassigned_config
add sites to iss config constructor
This commit is contained in:
commit
ab05f43716
@ -240,8 +240,10 @@ func New(logger log.Logger, config *Config) types.Collector {
|
||||
}
|
||||
|
||||
c := &collector{
|
||||
appInclude: &config.AppInclude,
|
||||
appExclude: &config.AppExclude,
|
||||
appInclude: &config.AppInclude,
|
||||
appExclude: &config.AppExclude,
|
||||
siteInclude: &config.SiteInclude,
|
||||
siteExclude: &config.SiteExclude,
|
||||
}
|
||||
c.SetLogger(logger)
|
||||
return c
|
||||
|
Loading…
Reference in New Issue
Block a user