mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
build/common.sh: silence kube::build::has_ip on Mac
This commit is contained in:
parent
4673f6b558
commit
4156ec979b
@ -330,7 +330,7 @@ function kube::build::has_docker() {
|
||||
}
|
||||
|
||||
function kube::build::has_ip() {
|
||||
ip -Version | grep 'iproute2' &> /dev/null
|
||||
which ip &> /dev/null && ip -Version | grep 'iproute2' &> /dev/null
|
||||
}
|
||||
|
||||
# Detect if a specific image exists
|
||||
|
Loading…
Reference in New Issue
Block a user