Update go-cni to v1.1.5
Signed-off-by: Michael Zappa <Michael.Zappa@stateless.net>
This commit is contained in:
2
vendor/github.com/containerd/go-cni/.golangci.yml
generated
vendored
2
vendor/github.com/containerd/go-cni/.golangci.yml
generated
vendored
@@ -6,7 +6,7 @@ linters:
|
||||
- unconvert
|
||||
- gofmt
|
||||
- goimports
|
||||
- golint
|
||||
- revive
|
||||
- ineffassign
|
||||
- vet
|
||||
- unused
|
||||
|
||||
4
vendor/github.com/containerd/go-cni/deprecated.go
generated
vendored
4
vendor/github.com/containerd/go-cni/deprecated.go
generated
vendored
@@ -19,10 +19,10 @@ package cni
|
||||
import types100 "github.com/containernetworking/cni/pkg/types/100"
|
||||
|
||||
// Deprecated: use cni.Opt instead
|
||||
type CNIOpt = Opt //nolint: golint // type name will be used as cni.CNIOpt by other packages, and that stutters
|
||||
type CNIOpt = Opt //revive:disable // type name will be used as cni.CNIOpt by other packages, and that stutters
|
||||
|
||||
// Deprecated: use cni.Result instead
|
||||
type CNIResult = Result //nolint: golint // type name will be used as cni.CNIResult by other packages, and that stutters
|
||||
type CNIResult = Result //revive:disable // type name will be used as cni.CNIResult by other packages, and that stutters
|
||||
|
||||
// GetCNIResultFromResults creates a Result from the given slice of types100.Result,
|
||||
// adding structured data containing the interface configuration for each of the
|
||||
|
||||
2
vendor/github.com/containerd/go-cni/opts.go
generated
vendored
2
vendor/github.com/containerd/go-cni/opts.go
generated
vendored
@@ -87,7 +87,7 @@ func WithMinNetworkCount(count int) Opt {
|
||||
// network config.
|
||||
func WithLoNetwork(c *libcni) error {
|
||||
loConfig, _ := cnilibrary.ConfListFromBytes([]byte(`{
|
||||
"cniVersion": "1.0.0",
|
||||
"cniVersion": "0.3.1",
|
||||
"name": "cni-loopback",
|
||||
"plugins": [{
|
||||
"type": "loopback"
|
||||
|
||||
Reference in New Issue
Block a user