From fc51158facaafaf5732d9beb3f7d6da233820aee Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Mon, 26 Aug 2024 08:22:42 -0700 Subject: [PATCH] Fix deploy latest commit on E2E tests (#10725) Signed-off-by: Derek Nola --- tests/e2e/vagrantdefaults.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/vagrantdefaults.rb b/tests/e2e/vagrantdefaults.rb index 6841db377003..5e57e022bc1b 100644 --- a/tests/e2e/vagrantdefaults.rb +++ b/tests/e2e/vagrantdefaults.rb @@ -19,7 +19,7 @@ def getInstallType(vm, release_version, branch, release_channel='') install_type = "INSTALL_K3S_SKIP_DOWNLOAD=true" elsif !release_version.empty? return "INSTALL_K3S_VERSION=#{release_version}" - elsif release_channel != "commit" + elsif !release_channel.empty? && release_channel != "commit" return "INSTALL_K3S_CHANNEL=#{release_channel}" else jqInstall(vm)