Update module github.com/prometheus/client_golang to v1.20.3 #492
ci.yaml
on: pull_request
Build
46s
Build without netsnmp
30s
Test
1m 24s
Test without netsnmp
1m 17s
Code Coverage
1m 2s
Lint
46s
Annotations
10 errors
Lint:
snmpproxy/api_test.go#L40
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"test error\")" (err113)
|
Lint:
snmpproxy/api_test.go#L170
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"some error\")" (err113)
|
Lint:
snmpproxy/data.go#L26
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"RequestType mustn't be empty\")" (err113)
|
Lint:
snmpproxy/data.go#L28
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unknown RequestType \\\"%s\\\"\", *t)" (err113)
|
Lint:
snmpproxy/data.go#L52
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"snmpVersion mustn't be empty\")" (err113)
|
Lint:
snmpproxy/data.go#L54
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unknown or unsupported snmpVersion \\\"%s\\\", supported are: 1, 2c\", s)" (err113)
|
Lint:
snmpproxy/data.go#L76
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"field request_type mustn't be empty\")" (err113)
|
Lint:
snmpproxy/data.go#L103
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"field host mustn't be empty\")" (err113)
|
Lint:
snmpproxy/data.go#L118
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"field version mustn't be empty\")" (err113)
|
Lint:
snmpproxy/data.go#L123
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"field timeout mustn't be empty or zero\")" (err113)
|