-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Description
Is this a request for help?:
YES
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
Which release version?:
The latest code
Which component (CNI/IPAM/CNM/CNS):
CNI
Which Operating System (Linux/Windows):
Fedora
For Linux: Include Distro and kernel version using "uname -a"
Linux localhost.localdomain 4.16.16-300.fc28.x86_64 #1 SMP Sun Jun 17 03:02:42 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
For windows: provide output of "$(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion"
Which Orchestrator and version (e.g. Kubernetes, Docker)
What happened:
- go get -d github.com/Azure/azure-container-networking
- go get -d github.com/containernetworking/cni
- make all-binaries
I got the following errors:
chmod 0755 output/linux_amd64/cnm/azure-vnet-plugin
cd output/linux_amd64/cnm && tar -czvf azure-vnet-cnm-linux-amd64-v1.0.6-3-ge29adde.tgz azure-vnet-plugin
azure-vnet-plugin
chown 1000:1000 output/linux_amd64/cnm/azure-vnet-cnm-linux-amd64-v1.0.6-3-ge29adde.tgz
go build -v -o output/linux_amd64/cni/azure-vnet -ldflags "-X main.version=v1.0.6-3-ge29adde -s -w" cni/network/plugin/*.go
github.com/Azure/azure-container-networking/cni
github.com/Azure/azure-container-networking/cni
cni/plugin.go:107:35: not enough arguments in call to invoke.DelegateAdd
have (string, []byte)
want (string, []byte, invoke.Exec)
cni/plugin.go:129:29: not enough arguments in call to invoke.DelegateDel
have (string, []byte)
want (string, []byte, invoke.Exec)
make: *** [Makefile:106: output/linux_amd64/cni/azure-vnet] Error 2
What you expected to happen:
Compile the code successfully
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Metadata
Metadata
Assignees
Labels
No labels