| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 03/13] sg-report-host-history: Move `computeflightsrange' after hosts
 This will allow the flights range computation to depend on the hosts
we are interested in.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 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 c9f4aaa6..fc51074d 100755
--- a/sg-report-host-history
+++ b/sg-report-host-history
@@ -329,10 +329,6 @@ END
         if $doinstall;
 }
 
-db_retry($dbh_tests, [], sub {
-    computeflightsrange();
-});
-
 foreach my $host (@ARGV) {
     if ($host =~ m/^flight:/) {
        my $flight=$'; #';
@@ -365,6 +361,10 @@ END
 exit 0 unless %hosts;
 
 db_retry($dbh_tests, [], sub {
+    computeflightsrange();
+});
+
+db_retry($dbh_tests, [], sub {
     mainquery();
 });
 
-- 
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |