aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
Diffstat (limited to 'ulri')
-rwxr-xr-xulri16
1 files changed, 8 insertions, 8 deletions
diff --git a/ulri b/ulri
index 5fb309d..b414f71 100755
--- a/ulri
+++ b/ulri
@@ -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