Skip to content

fix(waltr): fixed some issues causing goroutine deadlocks #42

fix(waltr): fixed some issues causing goroutine deadlocks

fix(waltr): fixed some issues causing goroutine deadlocks #42

Triggered via push November 18, 2024 05:38
Status Success
Total duration 6m 38s
Artifacts

testing.yaml

on: push
Matrix: Test
dispatch
2s
dispatch
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: pkg/tools/tools.go#L89
Error return value of `json.Unmarshal` is not checked (errcheck)
Lint: pkg/proc/proc.go#L131
S1011: should replace loop with `e.outputs = append(e.outputs, paths...)` (gosimple)
Lint: pkg/kv/op.go#L113
S1021: should merge variable declaration with assignment on next line (gosimple)
Lint: pkg/kv/op.go#L176
S1021: should merge variable declaration with assignment on next line (gosimple)
Lint: pkg/kube/exec.go#L84
ineffectual assignment to exec (ineffassign)
Lint: pkg/log/log.go#L118
ineffectual assignment to config (ineffassign)
Lint: internal/waltr/cmd/init.go#L106
ineffectual assignment to err (ineffassign)
Lint: pkg/fs/paths.go#L312
ineffectual assignment to ctx (ineffassign)
Lint: pkg/log/log.go#L117
SA4009: argument config is overwritten before first use (staticcheck)
Lint
golangci-lint exit with code 4