Apply changes requested in the pull-kubernetes-verify failed check

This commit is contained in:
ZeusPerez 2022-01-20 17:25:52 +01:00
parent 5d52b4ef9a
commit ddec2a9125

View File

@ -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