mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-08 03:26:35 +00:00
codespell: Fix word spelling issues
See, ``` $ codespell --skip=".git,./vendor" --ignore-words-list=calle ./exporter.go:262: overriden ==> overridden ./collector/dfsr.go:132: receieved ==> received ./collector/dns.go:140: reponses ==> responses ./collector/exchange.go:238: occational ==> occasional ./collector/mssql.go:1961: shoud ==> should ./collector/process.go:137: sharable ==> shareable ./collector/remote_fx.go:64: seccond ==> second ./docs/collector.dfsr.md:47: fils ==> fills, files, file ./docs/collector.exchange.md:39: lengt ==> length ./docs/collector.fsrmquota.md:3: Ressource ==> Resource ./docs/collector.fsrmquota.md:51: Ressource ==> Resource ./docs/collector.os.md:20: sotred ==> sorted, stored ./docs/collector.process.md:56: sharable ==> shareable ./docs/collector.smtp.md:27: mailformed ==> malformed ``` Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
@@ -235,7 +235,7 @@ func (c *exchangeCollector) collectADAccessProcesses(ctx *ScrapeContext, ch chan
|
||||
}
|
||||
|
||||
// since we're not including the PID suffix from the instance names in the label names,
|
||||
// we get an occational duplicate. This seems to affect about 4 instances only on this object.
|
||||
// we get an occasional duplicate. This seems to affect about 4 instances only on this object.
|
||||
labelUseCount[labelName]++
|
||||
if labelUseCount[labelName] > 1 {
|
||||
labelName = fmt.Sprintf("%s_%d", labelName, labelUseCount[labelName])
|
||||
|
||||
Reference in New Issue
Block a user