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

This commit is contained in:
Calle Pettersson
2018-10-04 21:37:20 +02:00
committed by Calle Pettersson
parent f2462b26c8
commit 93904954f4

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()