Take the latest of the links.

This commit is contained in:
Lukas Ruzicka 2023-07-20 11:26:40 +02:00
parent 1565eaf58e
commit 9461fc7e14
1 changed files with 4 additions and 4 deletions

8
bis.pl
View File

@ -46,10 +46,10 @@ for my $iso (@$json) {
} }
} }
my $isolink = $links->[0]; my $isolink = $links->[-1];
if ($netinst eq "Netinst") { #if ($netinst eq "Netinst") {
$isolink = $links->[-1]; # $isolink = $links->[-1];
} #}
print("Sending the API command to openQA: \n"); print("Sending the API command to openQA: \n");