Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/containernetworking/plugins to v1.6.2 #24959

Closed

fix(deps): update module github.com/containernetworking/plugins to v1…

75d907a
Select commit
Loading
Failed to load commit list.
Closed

fix(deps): update module github.com/containernetworking/plugins to v1.6.2 #24959

fix(deps): update module github.com/containernetworking/plugins to v1…
75d907a
Select commit
Loading
Failed to load commit list.
Cirrus CI / Validate source code changes failed Jan 7, 2025 in 2m 27s

Task Summary

Instruction main failed in 02:11

Details

✅ 00:12 clone
✅ 00:01 setup
❌ 02:11 main

		report.Path, report.Err = ctr.Mount()
		                              ^
pkg/domain/infra/abi/containers.go:1447:29: ctr.Mounted undefined (type containerWrapper has no field or method Mounted) (typecheck)
		mounted, path, err := ctr.Mounted()
		                          ^
pkg/domain/infra/abi/containers.go:1458:15: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
				Id:   ctr.ID(),
				          ^
pkg/domain/infra/abi/containers.go:1459:15: ctr.Name undefined (type containerWrapper has no field or method Name) (typecheck)
				Name: ctr.Name(),
				          ^
pkg/domain/infra/abi/containers.go:1503:21: ctr.State undefined (type containerWrapper has no field or method State) (typecheck)
		state, err := ctr.State()
		                  ^
pkg/domain/infra/abi/containers.go:1505: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:1509: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:1513: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:1514: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:1516: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:1519: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:1538:21: con.State undefined (type containerWrapper has no field or method State) (typecheck)
		state, err := con.State()
		                  ^
pkg/domain/infra/abi/containers.go:1545:28: con.PortMappings undefined (type containerWrapper has no field or method PortMappings) (typecheck)
		portmappings, err := con.PortMappings()
		                         ^
pkg/domain/infra/abi/containers.go:1551:16: con.ID undefined (type containerWrapper has no field or method ID) (typecheck)
				Id:    con.ID(),
				           ^
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:116:19: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
		report.Id = ctr.ID()
		                ^
pkg/domain/infra/abi/network.go:117:20: ctr.ReloadNetwork undefined (type containerWrapper has no field or method ReloadNetwork) (typecheck)
		report.Err = ctr.ReloadNetwork()
		                 ^
make: *** [Makefile:285: golangci-lint] Error 1

Exit status: 2