Fixed variable check for new WHAT command

pull/564/head
Thomas Runyon 2019-02-01 13:53:23 -05:00
parent 31aac97a85
commit 8772e26315
1 changed files with 1 additions and 2 deletions

View File

@ -384,13 +384,12 @@ runTests() {
kubectl get "${kube_flags[@]}" -f hack/testdata/kubernetes-service.yaml
fi
if [ ! -z "$WHAT" ]; then #ccheck not empty
if [[ -n "${WHAT-}" ]]; then
for pkg in ${WHAT}
do
record_command run_${pkg}_tests
done
else
#########################
# Kubectl version #
#########################