Skip to content

Update module github.com/metal-toolbox/ctrl to v1 - autoclosed #252

Update module github.com/metal-toolbox/ctrl to v1 - autoclosed

Update module github.com/metal-toolbox/ctrl to v1 - autoclosed #252

Triggered via pull request November 15, 2024 19:35
Status Failure
Total duration 1m 26s
Artifacts

push-pr-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint-test: internal/bioscfg/bioscfg.go#L44
cannot use &TaskHandler{…} (value of type *TaskHandler) as ctrl.TaskHandler value in return statement: *TaskHandler does not implement ctrl.TaskHandler (wrong type for method HandleTask)
lint-test: internal/bioscfg/bioscfg.go#L82
cannot use rctypes.BiosControl (constant "biosControl" of type "github.com/metal-toolbox/rivets/condition".Kind) as "github.com/metal-toolbox/rivets/v2/condition".Kind value in argument to ctrl.NewNatsController
lint-test: internal/bioscfg/publish.go#L29
cannot use genTask (variable of type *"github.com/metal-toolbox/rivets/condition".Task[any, any]) as *"github.com/metal-toolbox/rivets/v2/condition".Task[any, any] value in argument to th.publisher.Publish (typecheck)
lint-test: cmd/bioscfg.go#L7
could not import github.com/metal-toolbox/bioscfg/internal/bioscfg (-: # github.com/metal-toolbox/bioscfg/internal/bioscfg
lint-test: internal/bioscfg/bioscfg.go#L44
cannot use &TaskHandler{…} (value of type *TaskHandler) as ctrl.TaskHandler value in return statement: *TaskHandler does not implement ctrl.TaskHandler (wrong type for method HandleTask)
lint-test: internal/bioscfg/bioscfg.go#L82
cannot use rctypes.BiosControl (constant "biosControl" of type "github.com/metal-toolbox/rivets/condition".Kind) as "github.com/metal-toolbox/rivets/v2/condition".Kind value in argument to ctrl.NewNatsController
lint-test: internal/bioscfg/publish.go#L29
cannot use genTask (variable of type *"github.com/metal-toolbox/rivets/condition".Task[any, any]) as *"github.com/metal-toolbox/rivets/v2/condition".Task[any, any] value in argument to th.publisher.Publish) (typecheck)
lint-test
issues found