Skip to content

chore: format

chore: format #8

Triggered via push January 15, 2024 19:02
Status Failure
Total duration 53s
Artifacts

linter.yml

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

Annotations

8 errors
build (1.21): pkg/machine/machine.go#L577
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#L768
S1011: should replace loop with `toCancel = append(toCancel, m.indexStateCtx[s]...)` (gosimple)
build (1.21): pkg/machine/machine.go#L563
ineffectual assignment to ctx (ineffassign)
build (1.21): pkg/machine/machine.go#L902
SA5011: possible nil pointer dereference (staticcheck)
build (1.21): pkg/machine/machine.go#L906
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
build (1.21)
Process completed with exit code 201.