[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 1/5] ms-flights-summary: Do gather_stats on jobs a bit later



We are going to want to invent a fake status for `preparing' jobs
which have no allocation, separate from ones which do have an
allocation.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 ms-flights-summary | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ms-flights-summary b/ms-flights-summary
index ea72088..413b703 100755
--- a/ms-flights-summary
+++ b/ms-flights-summary
@@ -342,11 +342,14 @@ enumerate_flights();
 
 foreach my $f (keys %flights) {
     enumerate_jobs($flights{$f});
-    gather_stats($flights{$f});
 }
 
 gather_events();
 
+foreach my $f (keys %flights) {
+    gather_stats($flights{$f});
+}
+
 printf("<html><head><title>Flights - %s</title></head><body>\n",
        $c{DnsDomain} // '?');
 printf("<p>Report at ".fmttime(time)." based on plan at 
".fmttime($plan->{Start})."</p>\n");
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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