Merge pull request #1339 from mattdurham/fix_unassigned_config

add sites to iss config constructor
This commit is contained in:
Jan-Otto Kröpke 2023-11-16 16:09:33 +01:00 committed by GitHub
commit ab05f43716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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