diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-02-03 23:27:25 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-02-03 23:27:25 +0000 |
commit | 99026841d905b58ece27a4946ba5bb96601cf669 (patch) | |
tree | 2c96f2206bb64a46fa08442c45365a610d641db7 /ulri | |
parent | 771d840cb61a092b478b4898e228c11b8b585540 (diff) | |
download | iurt-99026841d905b58ece27a4946ba5bb96601cf669.tar iurt-99026841d905b58ece27a4946ba5bb96601cf669.tar.gz iurt-99026841d905b58ece27a4946ba5bb96601cf669.tar.bz2 iurt-99026841d905b58ece27a4946ba5bb96601cf669.tar.xz iurt-99026841d905b58ece27a4946ba5bb96601cf669.zip |
Move exclude_machine to a better place
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -219,14 +219,6 @@ plog('DEBUG', "input queue is $todo"); my %pkg_tree = get_upload_tree_state($config); -sub exclude_machine { - my ($config, $host) = @_; - plog('INFO', "Excluding build host $host"); - foreach my $arch (keys %{$config->{bot}}) { - delete $config->{bot}{$arch}{$host}; - } -} - # Load bot status # foreach my $prefix (keys %pkg_tree) { @@ -761,6 +753,14 @@ sub check_file_timeout { $i == $time; } +sub exclude_machine { + my ($config, $host) = @_; + plog('INFO', "Excluding build host $host"); + foreach my $arch (keys %{$config->{bot}}) { + delete $config->{bot}{$arch}{$host}; + } +} + __END__ # ulri ends here |