Skip to content

Commit

Permalink
chore(build): provide CNI only for linux (#10145)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
jakubdyszkiewicz authored Apr 30, 2024
1 parent 4e5a774 commit cb8ac9a
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 22 deletions.
File renamed without changes.
File renamed without changes.
11 changes: 0 additions & 11 deletions app/cni/pkg/cni/injector_darwin.go

This file was deleted.

11 changes: 0 additions & 11 deletions app/cni/pkg/cni/injector_windows.go

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions app/cni/pkg/cni/main_darwin.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package cni

func Run() {
panic("CNI not supported on Darwin")
}
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions app/cni/pkg/cni/main_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package cni

func Run() {
panic("CNI not supported on Windows")
}

0 comments on commit cb8ac9a

Please sign in to comment.