Commit 8772e263 authored by Thomas Runyon's avatar Thomas Runyon

Fixed variable check for new WHAT command

parent 31aac97a
...@@ -384,13 +384,12 @@ runTests() { ...@@ -384,13 +384,12 @@ runTests() {
kubectl get "${kube_flags[@]}" -f hack/testdata/kubernetes-service.yaml kubectl get "${kube_flags[@]}" -f hack/testdata/kubernetes-service.yaml
fi fi
if [ ! -z "$WHAT" ]; then #ccheck not empty if [[ -n "${WHAT-}" ]]; then
for pkg in ${WHAT} for pkg in ${WHAT}
do do
record_command run_${pkg}_tests record_command run_${pkg}_tests
done done
else else
######################### #########################
# Kubectl version # # Kubectl version #
######################### #########################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment