From: Tom Hughes Date: Wed, 30 Sep 2020 21:48:58 +0000 (+0100) Subject: Don't output bandwidth for global caches X-Git-Url: https://git.openstreetmap.org/dns.git/commitdiff_plain/aac5db7652d9c376bcf529b22f6a0ab308167eda Don't output bandwidth for global caches --- diff --git a/bin/mkgeo b/bin/mkgeo index 676c449..7373c2d 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -263,6 +263,8 @@ foreach my $origin (sort { $a->{name} cmp $b->{name} } values %$origins) }; } + next if $cluster->{global}; + $targetorigins->{$cluster->{name}}->{bandwidth} += $origin->{bandwidth}; }