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

[Xen-API] [PATCH] Add missing edition "XD"


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Zheng Li <dev@xxxxxxxx>
  • Date: Fri, 23 Apr 2010 18:38:41 -0000
  • Delivery-date: Fri, 23 Apr 2010 11:39:38 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

"XD" edition seems to be missing here. The more interesting thing is that when 
we fail because of this bug, the log file will say "unknown edition" as 
expected, but the cli's error message will say "daemon was not found".


Signed-off-by: Zheng Li <dev@xxxxxxxx>


 ocaml/license/fakev6.ml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff -r 7b6380fd1068 -r b986b406898f ocaml/license/fakev6.ml
--- a/ocaml/license/fakev6.ml   Fri Apr 23 18:54:31 2010 +0100
+++ b/ocaml/license/fakev6.ml   Fri Apr 23 19:30:04 2010 +0100
@@ -17,7 +17,7 @@
 
 let initialise address port edition =
        (* check edition  *)
-       if not (List.mem edition ["STD"; "ADV"; "ENT"; "PLT"]) then
+       if not (List.mem edition ["STD"; "ADV"; "ENT"; "XD"; "PLT"]) then
                failwith "unknown edition";
 
        ("real", Int32.of_int (-1))

Attachment: xen-api.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

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