mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-23 21:26:36 +00:00
Lint-fix: Dead code. Fixes bug with IIS app white/blacklisting
This commit is contained in:
committed by
Calle Pettersson
parent
f2462b26c8
commit
93904954f4
@@ -802,8 +802,8 @@ func NewIISCollector() (Collector, error) {
|
|||||||
nil,
|
nil,
|
||||||
),
|
),
|
||||||
|
|
||||||
appWhitelistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *siteWhitelist)),
|
appWhitelistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *appWhitelist)),
|
||||||
appBlacklistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *siteBlacklist)),
|
appBlacklistPattern: regexp.MustCompile(fmt.Sprintf("^(?:%s)$", *appBlacklist)),
|
||||||
}
|
}
|
||||||
|
|
||||||
buildIIS.iis_version = getIISVersion()
|
buildIIS.iis_version = getIISVersion()
|
||||||
|
|||||||
Reference in New Issue
Block a user