We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b18499f + ad06eed commit e2e3502Copy full SHA for e2e3502
cni/internal/cniutil.go
@@ -16,7 +16,7 @@ package internal
16
import (
17
"fmt"
18
19
- "github.com/containernetworking/cni/pkg/types/current"
+ current "github.com/containernetworking/cni/pkg/types/100"
20
"github.com/pkg/errors"
21
)
22
cni/internal/cniutil_test.go
@@ -17,7 +17,7 @@ import (
"net"
"testing"
"github.com/containernetworking/cni/pkg/version"
"github.com/stretchr/testify/assert"
23
"github.com/stretchr/testify/require"
@@ -51,7 +51,6 @@ func TestInterfaceIPs(t *testing.T) {
51
},
52
IPs: []*current.IPConfig{
53
{
54
- Version: "4",
55
Interface: &vethIndex,
56
Address: net.IPNet{
57
IP: net.IPv4(10, 0, 0, 2),
@@ -60,7 +59,6 @@ func TestInterfaceIPs(t *testing.T) {
60
59
Gateway: net.IPv4(10, 0, 0, 1),
61
62
63
64
Interface: &vmIndex,
65
66
IP: net.IPv4(10, 0, 1, 2),
@@ -69,7 +67,6 @@ func TestInterfaceIPs(t *testing.T) {
69
67
Gateway: net.IPv4(10, 0, 1, 1),
70
68
71
72
73
74
75
IP: net.IPv4(192, 168, 0, 2),
cni/vmconf/vmconf.go
@@ -33,7 +33,7 @@ import (
33
"strings"
34
35
"github.com/containernetworking/cni/pkg/types"
36
37
"github.com/containernetworking/plugins/pkg/ns"
38
39
cni/vmconf/vmconf_test.go
@@ -18,7 +18,7 @@ import (
24
"github.com/vishvananda/netlink"
@@ -69,7 +69,6 @@ func TestIPBootParams(t *testing.T) {
VMIfName: "eth0",
VMMTU: 1337,
VMIPConfig: ¤t.IPConfig{
Mask: net.IPv4Mask(255, 255, 255, 0),
go.mod
@@ -3,9 +3,9 @@ module github.com/firecracker-microvm/firecracker-go-sdk
3
go 1.11
4
5
require (
6
- github.com/containerd/fifo v0.0.0-20191213151349-ff969a566b00
7
- github.com/containernetworking/cni v0.8.1
8
- github.com/containernetworking/plugins v0.9.1
+ github.com/containerd/fifo v1.0.0
+ github.com/containernetworking/cni v1.0.1
+ github.com/containernetworking/plugins v1.0.1
9
github.com/go-openapi/errors v0.20.1
10
github.com/go-openapi/runtime v0.19.26
11
github.com/go-openapi/strfmt v0.20.3
@@ -17,6 +17,6 @@ require (
github.com/sirupsen/logrus v1.8.1
github.com/sparrc/go-ping v0.0.0-20190613174326-4e5b6552494c
github.com/stretchr/testify v1.7.0
- github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852
- golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
+ github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5
+ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e
go.sum
network.go
@@ -23,7 +23,7 @@ import (
"github.com/containernetworking/cni/libcni"
25
26
27
28
29
log "github.com/sirupsen/logrus"
@@ -549,7 +549,6 @@ func (conf IPConfiguration) ipBootParam() string {
549
vmConf := vmconf.StaticNetworkConf{
550
VMNameservers: conf.Nameservers,
551
552
553
Address: conf.IPAddr,
554
Gateway: conf.Gateway,
555
0 commit comments