Skip to content

fix: Windows 11/Windows Server 2025 service compatibility #1571

fix: Windows 11/Windows Server 2025 service compatibility

fix: Windows 11/Windows Server 2025 service compatibility #1571

Triggered via pull request January 19, 2025 00:30
Status Failure
Total duration 3m 37s
Artifacts 1

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: cmd/windows_exporter/0_service.go#L61
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: cmd/windows_exporter/0_service.go#L72
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: cmd/windows_exporter/0_service.go#L83
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: cmd/windows_exporter/main.go#L21
directive `//nolint:gofumpt` is unused for linter "gofumpt" (nolintlint)
lint: internal/log/eventlog/eventlog.go#L38
var-declaration: should drop = 0 from declaration of var EmptyStringUTF16; it is the zero value (revive)
lint
issues found

Artifacts

Produced during runtime
Name Size
windows_exporter.amd64.exe
11.8 MB