Skip to content

generator/tree.go: Add support for subsequent address family in combi… #601

generator/tree.go: Add support for subsequent address family in combi…

generator/tree.go: Add support for subsequent address family in combi… #601

Triggered via pull request November 24, 2023 12:16
Status Failure
Total duration 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: generator/config.go#L1
: # github.com/prometheus/snmp_exporter/generator [github.com/prometheus/snmp_exporter/generator.test]
lint: generator/tree.go#L401
syntax error: unexpected ) at end of statement
lint: generator/tree.go#L402
syntax error: unexpected newline in argument list; possibly missing comma or )
lint: generator/tree.go#L405
syntax error: unexpected ] at end of statement (typecheck)
lint: generator/tree.go#L401
expected statement, found ')' (typecheck)
lint: generator/tree.go#L567
missing ',' before newline in argument list (typecheck)
lint: generator/tree.go#L569
expected operand, found 'var' (typecheck)
lint: generator/tree.go#L570
expected '==', found '=' (typecheck)
lint: generator/tree.go#L573
expected '(', found sanitizeLabelName (typecheck)
lint: generator/tree.go#L575
expected '}', found 'EOF' (typecheck)