Skip to content

fix(deps): update module github.com/metal-toolbox/ironlib to v1 #491

fix(deps): update module github.com/metal-toolbox/ironlib to v1

fix(deps): update module github.com/metal-toolbox/ironlib to v1 #491

Triggered via pull request November 14, 2024 21:28
Status Failure
Total duration 1m 4s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci: pkg/model/raid_array.go#L116
cannot use sc (variable of type *"github.com/bmc-toolbox/common".StorageController) as *"github.com/metal-toolbox/bmc-common".StorageController value in argument to sca.CreateVirtualDisk
golangci: pkg/model/raid_array.go#L141
cannot use sca.ListVirtualDisks(ctx, sc) (value of type []*"github.com/metal-toolbox/bmc-common".VirtualDisk) as []*"github.com/bmc-toolbox/common".VirtualDisk value in assignment
golangci: pkg/model/raid_array.go#L141
cannot use sc (variable of type *"github.com/bmc-toolbox/common".StorageController) as *"github.com/metal-toolbox/bmc-common".StorageController value in argument to sca.ListVirtualDisks
golangci: pkg/model/raid_array.go#L161
cannot use sc (variable of type *"github.com/bmc-toolbox/common".StorageController) as *"github.com/metal-toolbox/bmc-common".StorageController value in argument to sca.DestroyVirtualDisk
golangci: pkg/model/raid_array.go#L223
cannot use sca.ListVirtualDisks(ctx, sc) (value of type []*"github.com/metal-toolbox/bmc-common".VirtualDisk) as []*"github.com/bmc-toolbox/common".VirtualDisk value in assignment
golangci: pkg/model/raid_array.go#L223
cannot use sc (variable of type *"github.com/bmc-toolbox/common".StorageController) as *"github.com/metal-toolbox/bmc-common".StorageController value in argument to sca.ListVirtualDisks
golangci: pkg/model/raid_array.go#L258
cannot use device.GetInventory(ctx, actions.WithDynamicCollection(), actions.WithDisabledCollectorUtilities([]model.CollectorUtility{…})) (value of type *"github.com/metal-toolbox/bmc-common".Device) as *"github.com/bmc-toolbox/common".Device value in assignment (typecheck)
golangci: cmd/disk_partition.go#L6
could not import github.com/metal-toolbox/vogelkop/pkg/model (-: # github.com/metal-toolbox/vogelkop/pkg/model
golangci: pkg/model/raid_array.go#L116
cannot use sc (variable of type *"github.com/bmc-toolbox/common".StorageController) as *"github.com/metal-toolbox/bmc-common".StorageController value in argument to sca.CreateVirtualDisk
golangci: pkg/model/raid_array.go#L141
cannot use sca.ListVirtualDisks(ctx, sc) (value of type []*"github.com/metal-toolbox/bmc-common".VirtualDisk) as []*"github.com/bmc-toolbox/common".VirtualDisk value in assignment