Perhaps at one point something read from these logs influenced the db
query for thye flights range, but that is no longer the case and it
doesn't seem likely to need to come back.
We want to move the per-host stuff together.
No functional change.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
exit 0 unless %hosts;
-foreach (keys %hosts) {
- read_existing_logs($_);
-}
-
db_retry($dbh_tests, [], sub {
computeflightsrange();
});
+foreach (keys %hosts) {
+ read_existing_logs($_);
+}
+
db_retry($dbh_tests, [], sub {
foreach my $host (sort keys %hosts) {
mainquery($host);