Skip to content

Commit

Permalink
[backend] remove added addwatchremote calls
Browse files Browse the repository at this point in the history
That's not how it works, at that point it's much too late.
The repos should already be watched because of the code in
calc_prps()...
  • Loading branch information
mlschroe committed Jul 17, 2015
1 parent 28809d9 commit 53f352d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/backend/bs_sched
Expand Up @@ -4840,8 +4840,6 @@ sub checkkiwiimage {
if (defined $r) {
$error .= " (delayed)";
$delayed_errors .= "$error; ";
my ($prj, $repo) = split('/', $aprp, 2);
addwatchremote('repository', $projpacks->{$prj}, "/$repo/$myarch");
next;
}
print " - $packid (kiwi-image)\n";
Expand Down Expand Up @@ -5086,8 +5084,6 @@ sub checkkiwiproduct {
print " $error\n";
if (defined $r) {
$delayed_errors .= "$error; ";
my ($prj, $repo) = split('/', $aprp, 2);
addwatchremote('repository', $projpacks->{$prj}, "/$repo/$myarch");
next;
}
return ('broken', $error);
Expand Down

0 comments on commit 53f352d

Please sign in to comment.