feat(dashboards): [experiment] Building Grafana Dashboards from Loki #7577
Annotations
3 errors and 4 warnings
golangci-lint:
pkg/dash/dash.go#L55
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
pkg/dash/dash.go#L199
Error return value of `tpl.Execute` is not checked (errcheck)
|
golangci-lint
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint:
pkg/dash/dash.go#L60
var-declaration: should drop = nil from declaration of var statusMap; it is the zero value (revive)
|
golangci-lint:
pkg/dash/dash.go#L52
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/dash/dash.go#L35
var-naming: var dashboardJson should be dashboardJSON (revive)
|
Loading