Merge pull request #113229 from BenTheElder/more-shell-tidy

more shellcheck cleanups
This commit is contained in:
Kubernetes Prow Robot
2022-10-20 22:25:50 -07:00
committed by GitHub
4 changed files with 4 additions and 1 deletions

View File

@@ -656,6 +656,7 @@ function kube::util::join {
# CFSSL_BIN: The path of the installed cfssl binary
# CFSSLJSON_BIN: The path of the installed cfssljson binary
#
# shellcheck disable=SC2120 # optional parameters
function kube::util::ensure-cfssl {
if command -v cfssl &>/dev/null && command -v cfssljson &>/dev/null; then
CFSSL_BIN=$(command -v cfssl)