[add_kubernetes_metadata][Metricset state_namespace] Fix namespace filter #20310
Annotations
8 errors and 3 warnings
metricbeat/module/kubernetes/util/kubernetes.go#L171
SA5011: possible nil pointer dereference (staticcheck)
|
metricbeat/module/kubernetes/util/kubernetes.go#L174
SA5011: possible nil pointer dereference (staticcheck)
|
metricbeat/module/kubernetes/util/kubernetes.go#L182
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
|
metricbeat/module/kubernetes/util/kubernetes.go#L593
directive `//nolint:all` is unused (nolintlint)
|
metricbeat/module/kubernetes/util/kubernetes.go#L594
directive `//nolint:all` is unused (nolintlint)
|
metricbeat/module/kubernetes/util/kubernetes.go#L611
`resourse` is a misspelling of `resources` (misspell)
|
metricbeat/module/kubernetes/util/kubernetes.go#L694
assigned to id, but reassigned without using the value (wastedassign)
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
|
|
This job failed
Loading