fix(deps): update module go.etcd.io/bbolt to v1.3.11 #23724
Closed
Cirrus CI / Validate source code changes
failed
Aug 28, 2024 in 2m 29s
Task Summary
Instruction main failed in 02:10
Details
✅ 00:13 clone
✅ 00:02 setup
❌ 02:10 main
mounted, path, err := ctr.Mounted()
^
pkg/domain/infra/abi/containers.go:1457:15: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
Id: ctr.ID(),
^
pkg/domain/infra/abi/containers.go:1458:15: ctr.Name undefined (type containerWrapper has no field or method Name) (typecheck)
Name: ctr.Name(),
^
pkg/domain/infra/abi/containers.go:1502:21: ctr.State undefined (type containerWrapper has no field or method State) (typecheck)
state, err := ctr.State()
^
pkg/domain/infra/abi/containers.go:1504:64: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
logrus.Debugf("Error umounting container %s state: %s", ctr.ID(), err.Error())
^
pkg/domain/infra/abi/containers.go:1508:66: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
logrus.Debugf("Error umounting container %s, is running", ctr.ID())
^
pkg/domain/infra/abi/containers.go:1512:53: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
report := entities.ContainerUnmountReport{Id: ctr.ID()}
^
pkg/domain/infra/abi/containers.go:1513:17: ctr.Unmount undefined (type containerWrapper has no field or method Unmount) (typecheck)
if err := ctr.Unmount(options.Force); err != nil {
^
pkg/domain/infra/abi/containers.go:1515:83: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
logrus.Debugf("Error umounting container %s, storage.ErrLayerNotMounted", ctr.ID())
^
pkg/domain/infra/abi/containers.go:1518:63: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
report.Err = fmt.Errorf("unmounting container %s: %w", ctr.ID(), err)
^
pkg/domain/infra/abi/containers.go:1537:21: con.State undefined (type containerWrapper has no field or method State) (typecheck)
state, err := con.State()
^
pkg/domain/infra/abi/containers.go:1544:28: con.PortMappings undefined (type containerWrapper has no field or method PortMappings) (typecheck)
portmappings, err := con.PortMappings()
^
pkg/domain/infra/abi/containers.go:1550:16: con.ID undefined (type containerWrapper has no field or method ID) (typecheck)
Id: con.ID(),
^
pkg/domain/infra/abi/containers.go:1810:25: containers[0].Update undefined (type containerWrapper has no field or method Update) (typecheck)
if err = containers[0].Update(updateOptions.Specgen.ResourceLimits, restartPolicy, updateOptions.Specgen.RestartRetries); err != nil {
^
pkg/domain/infra/abi/containers.go:1813:23: containers[0].ID undefined (type containerWrapper has no field or method ID) (typecheck)
return containers[0].ID(), nil
^
pkg/domain/infra/abi/generate.go:27:9: declared and not used: content (typecheck)
name, content, err := generate.ContainerUnit(ctr, options)
^
pkg/domain/infra/abi/network.go:115:19: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
report.Id = ctr.ID()
^
pkg/domain/infra/abi/network.go:116:20: ctr.ReloadNetwork undefined (type containerWrapper has no field or method ReloadNetwork) (typecheck)
report.Err = ctr.ReloadNetwork()
^
make: *** [Makefile:287: golangci-lint] Error 1
Exit status: 2
Loading