Skip to content

Commit

Permalink
Fix deploy latest commit on E2E tests (k3s-io#10725)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola committed Sep 3, 2024
1 parent def1944 commit fc51158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/vagrantdefaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc51158

Please sign in to comment.