Skip to content

Commit c09e6f1

Browse files
committed
fix unbound variable
1 parent 72ffef0 commit c09e6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci-e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export USE_EXISTING_CLUSTER=false
5353
# - KUBERNETES_VERSION_UPGRADE_FROM
5454
# - KUBERNETES_VERSION_LATEST_CI
5555
# - KUBERNETES_VERSION_MANAGEMENT
56-
if [[ -n "${GINKGO_LABEL_FILTER}" ]]; then
56+
if [[ -n "${GINKGO_LABEL_FILTER+x}" && -n "${GINKGO_LABEL_FILTER}" ]]; then
5757
echo "Preparing kindest/node images for Ginkgo label filter: ${GINKGO_LABEL_FILTER}"
5858
k8s::prepareKindestImagesVariablesGingkoFilters
5959
else

0 commit comments

Comments
 (0)