diff options
author | onefang | 2020-07-17 06:15:32 +1000 |
---|---|---|
committer | onefang | 2020-07-17 06:15:32 +1000 |
commit | 4f5e609b3ca0feaa671a4055722b09b24eacc569 (patch) | |
tree | e0405da43dcf8c7a75fe9093699c00c15f7dd7f5 | |
parent | Use the new DNSRR field from mirror_list.txt to do the correct thing. (diff) | |
download | apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.zip apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.tar.gz apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.tar.bz2 apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.tar.xz |
Quick hack to prevent RRD bitching, fix it later, meeting coming up.
-rw-r--r-- | apt-panopticommon.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 0c06185..52159dd 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -804,6 +804,8 @@ APT.updateRRD = function(results, host, ip) | |||
804 | end | 804 | end |
805 | 805 | ||
806 | APT.doRRD = function(l, k, v, o) | 806 | APT.doRRD = function(l, k, v, o) |
807 | -- Quick hack. | ||
808 | if k == APT.options.roundRobin.value then return end | ||
807 | APT.collateAll(APT.mirrors, l, k, | 809 | APT.collateAll(APT.mirrors, l, k, |
808 | function(results, ip) | 810 | function(results, ip) |
809 | APT.createRRD(k, ip, o) | 811 | APT.createRRD(k, ip, o) |