build(deps): bump github.com/containerd/go-cni from 1.1.9 to 1.1.10
Bumps [github.com/containerd/go-cni](https://github.com/containerd/go-cni) from 1.1.9 to 1.1.10. - [Release notes](https://github.com/containerd/go-cni/releases) - [Commits](https://github.com/containerd/go-cni/compare/v1.1.9...v1.1.10) --- updated-dependencies: - dependency-name: github.com/containerd/go-cni dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
14
vendor/github.com/containerd/go-cni/result.go
generated
vendored
14
vendor/github.com/containerd/go-cni/result.go
generated
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user