[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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Fri, 8 Nov 2019 18:49:51 +0000
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 08 Nov 2019 18:50:33 +0000
  • Ironport-sdr: ELIpcErRlch3McRR9I/nUi9S1PEKrKbXPz+4m/NycwmwwDM0lb+9DTUc6QxHiYgD9+SzXUx+W0 TEDFxuZnhS/e/tAvFwGBlSfkUHPa/LSByGMDthprGTf8GjWjSGqHFyQ3aFoNkyCmjHGwRssEts LMY1YP9fo6hUNWEp1l5tIXRl8oSg8Uq/7vWdaowbv5oMTyW81BWpkXR8LuiHImXj4LOGQEgILJ 2AOxkAAJO/J2dfUNA739oxBMvdzR4DcuOyXbEknjh0i0gzh8fDFZh9jflvqgXlM7BUAXvZdNjs dyk=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.