Skip to content

Commit a096596

Browse files
Merge pull request #19989 from smarterclayton/cni_server
3.11 - Move binaries into cmd/ where they belong
2 parents 3611001 + c8d1a47 commit a096596

File tree

7 files changed

+10
-2
lines changed

7 files changed

+10
-2
lines changed

cmd/sdn-cni-plugin/openshift-sdn.go

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// +build !linux
2+
3+
package main
4+
5+
func main() {}

pkg/network/sdn-cni-plugin/openshift-sdn.go renamed to cmd/sdn-cni-plugin/openshift-sdn_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux
1+
// build +linux
22

33
package main
44

hack/lib/constants.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ readonly OS_OUTPUT_BINPATH="${OS_OUTPUT}/bin"
2828
readonly OS_OUTPUT_PKGDIR="${OS_OUTPUT}/pkgdir"
2929

3030
readonly OS_SDN_COMPILE_TARGETS_LINUX=(
31-
pkg/network/sdn-cni-plugin
31+
cmd/sdn-cni-plugin
3232
vendor/github.com/containernetworking/plugins/plugins/ipam/host-local
3333
vendor/github.com/containernetworking/plugins/plugins/main/loopback
3434
)

pkg/network/node/cniserver/doc.go

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package cniserver

pkg/network/node/egressip.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build linux
2+
13
package node
24

35
import (

sdn-cni-plugin

6.51 MB
Binary file not shown.

0 commit comments

Comments
 (0)