mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 02:37:36 +00:00
Apply changes requested in the pull-kubernetes-verify failed check
This commit is contained in:
@@ -221,8 +221,8 @@ kube::util::find-binary-for-platform() {
|
||||
fi
|
||||
|
||||
# looks for $1 in the $PATH
|
||||
if which ${lookfor} >/dev/null; then
|
||||
local -r local_bin="$(which ${lookfor})"
|
||||
if which "${lookfor}" >/dev/null; then
|
||||
local -r local_bin="$(which "${lookfor}")"
|
||||
locations+=( "${local_bin}" );
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user