Improve Grafana notification tags #1136
ci.yaml
on: pull_request
Lint Go code
2m 2s
test
3m 5s
Annotations
7 errors
|
Lint Go code
issues found
|
|
Lint Go code:
pkg/services/grafana.go#L68
unnecessary leading newline (whitespace)
|
|
Lint Go code:
pkg/services/grafana.go#L24
unnecessary leading newline (whitespace)
|
|
Lint Go code:
pkg/services/grafana_test.go#L65
File is not properly formatted (goimports)
|
|
Lint Go code:
pkg/services/grafana.go#L12
File is not properly formatted (goimports)
|
|
Lint Go code:
pkg/services/grafana.go#L79
emptyStringTest: replace `len(s.opts.Tags) > 0` with `s.opts.Tags != ""` (gocritic)
|
|
Lint Go code:
pkg/services/grafana.go#L73
emptyStringTest: replace `len(notification.Grafana.Tags) > 0` with `notification.Grafana.Tags != ""` (gocritic)
|