Mailing List Archive

[OSSTEST PATCH v2 27/41] sg-report-host-history: Rerganisation: Read old logs later
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>
---
sg-report-host-history | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sg-report-host-history b/sg-report-host-history
index 34216aa2..3f4670e5 100755
--- a/sg-report-host-history
+++ b/sg-report-host-history
@@ -466,14 +466,14 @@ END

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);
--
2.20.1