Update module github.com/metal-toolbox/ctrl to v1 - autoclosed #252
push-pr-lint.yaml
on: pull_request
lint-test
1m 14s
build
0s
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
|