From ff900b4d1b940e7fa33e9d3cc9d0c519d20b9cf6 Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Fri, 15 Sep 2023 11:42:41 -0700 Subject: [PATCH] Fix shellcheck issue Signed-off-by: Kevin Fox --- examples/production/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/production/run-tests.sh b/examples/production/run-tests.sh index 56e58f490..143a61e25 100755 --- a/examples/production/run-tests.sh +++ b/examples/production/run-tests.sh @@ -108,7 +108,7 @@ install_and_test() { helm test --namespace "${ns}" spire } -if [[ ! -z "$UPGRADE_ARGS" ]]; then +if [[ -n "$UPGRADE_ARGS" ]]; then install_and_test spire "$UPGRADE_ARGS" # Any other upgrade steps go here. (Upgrade crds, delete statefulsets without cascade, etc.) fi