Skip to content

chore: format

chore: format #5

Triggered via push January 15, 2024 18:54
Status Failure
Total duration 25s
Artifacts

linter.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors
build (1.21): pkg/machine/machine.go#L605
func `(*Machine).recoverToErr` is unused (unused)
build (1.21): pkg/machine/misc.go#L299
func `isMapTrue` is unused (unused)
build (1.21): pkg/machine/misc.go#L308
func `isMapFalse` is unused (unused)
build (1.21): pkg/machine/machine.go#L796
S1011: should replace loop with `toCancel = append(toCancel, m.indexStateCtx[s]...)` (gosimple)
build (1.21): pkg/machine/machine.go#L591
ineffectual assignment to ctx (ineffassign)
build (1.21): pkg/machine/machine.go#L930
SA5011: possible nil pointer dereference (staticcheck)
build (1.21): pkg/machine/machine.go#L934
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
build (1.21)
Process completed with exit code 201.