Merge pull request #10382 from containerd/dependabot/go_modules/github.com/containerd/go-cni-1.1.10

build(deps): bump github.com/containerd/go-cni from 1.1.9 to 1.1.10
This commit is contained in:
Maksym Pavlenko
2024-06-26 19:22:19 +00:00
committed by GitHub
4 changed files with 14 additions and 10 deletions

View File

@@ -57,9 +57,11 @@ func (r *Result) Raw() []*types100.Result {
}
type Config struct {
IPConfigs []*IPConfig
Mac string
Sandbox string
IPConfigs []*IPConfig
Mac string
Sandbox string
PciID string
SocketPath string
}
// createResult creates a Result from the given slice of types100.Result, adding
@@ -84,8 +86,10 @@ func (c *libcni) createResult(results []*types100.Result) (*Result, error) {
// Walk through all the interface in each result
for _, intf := range result.Interfaces {
r.Interfaces[intf.Name] = &Config{
Mac: intf.Mac,
Sandbox: intf.Sandbox,
Mac: intf.Mac,
Sandbox: intf.Sandbox,
SocketPath: intf.SocketPath,
PciID: intf.PciID,
}
}
// Walk through all the IPs in the result and attach it to corresponding

4
vendor/modules.txt vendored
View File

@@ -149,8 +149,8 @@ github.com/containerd/errdefs
# github.com/containerd/fifo v1.1.0
## explicit; go 1.18
github.com/containerd/fifo
# github.com/containerd/go-cni v1.1.9
## explicit; go 1.19
# github.com/containerd/go-cni v1.1.10
## explicit; go 1.21
github.com/containerd/go-cni
# github.com/containerd/go-runc v1.1.0
## explicit; go 1.18