Update module github.com/metal-toolbox/ctrl to v1 #251
Annotations
8 errors
golangci-lint:
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)
|
golangci-lint:
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
|
golangci-lint:
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)
|
golangci-lint:
cmd/bioscfg.go#L7
could not import github.com/metal-toolbox/bioscfg/internal/bioscfg (-: # github.com/metal-toolbox/bioscfg/internal/bioscfg
|
golangci-lint:
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)
|
golangci-lint:
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
|
golangci-lint:
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)
|
golangci-lint
issues found
|
Loading