Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 #21
Annotations
10 errors
Run golangci-lint:
app.go#L170
do not define dynamic errors, use wrapped static errors instead: "errors.New(slackResp.Error)" (err113)
|
Run golangci-lint:
main.go#L67
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", podName)" (err113)
|
Run golangci-lint:
main.go#L73
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name format. Expected <name>-<index>, got %s\", podName)" (err113)
|
Run golangci-lint:
server.go#L141
do not define dynamic errors, use wrapped static errors instead: "errors.New(strings.Join(errorMessages, \" and \"))" (err113)
|
Run golangci-lint:
app_test.go#L22
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"mock error\")" (err113)
|
Run golangci-lint:
main_test.go#L88
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", \"pod\")" (err113)
|
Run golangci-lint:
main_test.go#L94
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", \"pod-\")" (err113)
|
Run golangci-lint:
main_test.go#L100
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name format. Expected <name>-<index>, got %s\", \"pod-abcde\")" (err113)
|
Run golangci-lint:
main_test.go#L106
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid pod name %s. Expected <name>-<index>\", \"\")" (err113)
|
Run golangci-lint:
app.go#L280
Magic number: 2, in <argument> detected (mnd)
|
Loading