mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Make socket address parsing work on FreeBSD.
On FreeBSD, it is perfectly reasonable to make use of util_linux.go. Rename util_linux.go to util_unix.go so that it may be used on non-Linux UNIX-like systems. Add proper 'freebsd' build tags.
This commit is contained in:
parent
ae4fac416d
commit
d2851da325
@ -13,7 +13,7 @@ go_library(
|
||||
srcs = [
|
||||
"doc.go",
|
||||
"util.go",
|
||||
"util_linux.go",
|
||||
"util_unix.go",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
deps = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux
|
||||
// +build freebsd linux
|
||||
|
||||
/*
|
||||
Copyright 2017 The Kubernetes Authors.
|
@ -1,4 +1,4 @@
|
||||
// +build !linux,!windows
|
||||
// +build !freebsd,!linux,!windows
|
||||
|
||||
/*
|
||||
Copyright 2017 The Kubernetes Authors.
|
||||
|
Loading…
Reference in New Issue
Block a user