Skip to content

Commit

Permalink
First perform the exclude_mirror_types check
Browse files Browse the repository at this point in the history
  • Loading branch information
rgeissert committed Apr 24, 2015
1 parent b39c5d5 commit 741d7ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-main-db.pl
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ ($)

if ($entry->{'type'} eq 'origin') {
foreach my $type (@mirror_types) {
next unless (exists($entry->{$type.'-rsync'}));
next if ($exclude_mirror_types{$type});
next unless (exists($entry->{$type.'-rsync'}));

$db4->{$type}{'master'} = $entry->{'site'};
$db6->{$type}{'master'} = $entry->{'site'};
Expand All @@ -239,8 +239,8 @@ ($)

my $got_http = 0;
foreach my $type (@mirror_types) {
next unless (exists($entry->{$type.'-http'}));
next if ($exclude_mirror_types{$type});
next unless (exists($entry->{$type.'-http'}));

$got_http = 1;
}
Expand Down

0 comments on commit 741d7ae

Please sign in to comment.