]> xenbits.xensource.com Git - osstest.git/commitdiff
ms-planner: Expose the plan start in json.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 13 Jul 2015 15:33:28 +0000 (16:33 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 7 Sep 2015 16:43:46 +0000 (17:43 +0100)
Without this the Start and End times cannot be interpreted.

This patch has been deployed on the Cambridge instance for testing
with no ill-effects.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ms-planner

index 02a5464c670ab5919b3259516fefaece1a4abcba..f38f05b17b9405310d0b305a7315d278d98a65e8 100755 (executable)
@@ -382,7 +382,7 @@ sub cmd_get_plan () {
     get_current_plan();
     launder_check_plan();
 
-    my $jplan= { Events=>{} };
+    my $jplan= { Events=>{}, Start => $plan->{Start} };
 
     while (my ($reso,$evts) = each %{ $plan->{Events} }) {
        my @jevts;