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.jack...@eu.citrix.com>
---
 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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to