Lint-fix: Dead code. Fixes bug with IIS app white/blacklisting

This commit is contained in:
Calle Pettersson
2019-01-23 09:56:24 +01:00
committed by Calle Pettersson
parent f2462b26c8
commit 93904954f4
+2 -2
View File
@@ -802,8 +802,8 @@ func NewIISCollector() (Collector, error) {
nil,
),
appWhitelistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *siteWhitelist)),
appBlacklistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *siteBlacklist)),
appWhitelistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *appWhitelist)),
appBlacklistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *appBlacklist)),
}
buildIIS.iis_version = getIISVersion()