Skip to content

Commit

Permalink
build: bump dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Feb 4, 2022
1 parent abd29e8 commit 5e6a51e
Show file tree
Hide file tree
Showing 200 changed files with 23,517 additions and 564 deletions.
2 changes: 1 addition & 1 deletion cmd/whereabouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/containernetworking/cni/pkg/skel"
cnitypes "github.com/containernetworking/cni/pkg/types"
"github.com/containernetworking/cni/pkg/types/current"
current "github.com/containernetworking/cni/pkg/types/040"
cniversion "github.com/containernetworking/cni/pkg/version"
"github.com/k8snetworkplumbingwg/whereabouts/pkg/allocate"
"github.com/k8snetworkplumbingwg/whereabouts/pkg/config"
Expand Down
2 changes: 1 addition & 1 deletion cmd/whereabouts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/containernetworking/cni/pkg/skel"
"github.com/containernetworking/cni/pkg/types"
"github.com/containernetworking/cni/pkg/types/current"
current "github.com/containernetworking/cni/pkg/types/040"
"github.com/containernetworking/plugins/pkg/testutils"
"github.com/k8snetworkplumbingwg/whereabouts/pkg/allocate"
whereaboutstypes "github.com/k8snetworkplumbingwg/whereabouts/pkg/types"
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ go 1.15

require (
github.com/blang/semver v3.5.1+incompatible
github.com/containernetworking/cni v0.7.1
github.com/containernetworking/plugins v0.8.2
github.com/containernetworking/cni v1.0.1
github.com/containernetworking/plugins v0.9.1
github.com/coreos/etcd v3.3.13+incompatible
github.com/gogo/protobuf v1.3.2 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.11.1 // indirect
github.com/imdario/mergo v0.3.10
github.com/k8snetworkplumbingwg/network-attachment-definition-client v0.0.0-20191119172530-79f836b90111
github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.2.0
github.com/onsi/ginkgo v1.14.1
github.com/onsi/gomega v1.10.2
github.com/onsi/gomega v1.10.3
github.com/pkg/errors v0.9.1
gomodules.xyz/jsonpatch/v2 v2.1.0
k8s.io/api v0.20.2
Expand Down
117 changes: 61 additions & 56 deletions go.sum

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (

cnitypes "github.com/containernetworking/cni/pkg/types"
types020 "github.com/containernetworking/cni/pkg/types/020"
"github.com/containernetworking/cni/pkg/version"
"github.com/imdario/mergo"
"github.com/k8snetworkplumbingwg/whereabouts/pkg/logging"
"github.com/k8snetworkplumbingwg/whereabouts/pkg/types"
Expand Down Expand Up @@ -241,10 +242,8 @@ func configureStatic(n *types.Net, args types.IPAMEnvArgs) error {

// CNI spec 0.2.0 and below supported only one v4 and v6 address
if numV4 > 1 || numV6 > 1 {
for _, v := range types020.SupportedVersions {
if n.CNIVersion == v {
return fmt.Errorf("CNI version %v does not support more than 1 address per family", n.CNIVersion)
}
if ok, _ := version.GreaterThanOrEqualTo(n.CNIVersion, types020.ImplementedSpecVersion); !ok {
return fmt.Errorf("CNI version %v does not support more than 1 address per family", n.CNIVersion)
}
}

Expand Down
97 changes: 43 additions & 54 deletions vendor/github.com/containernetworking/cni/pkg/skel/skel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 74 additions & 25 deletions vendor/github.com/containernetworking/cni/pkg/types/020/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e6a51e

Please sign in to comment.