]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
CA-38158: Bogus "SR not shared properly" warning --- FIXED.
authorRok Strnisa <rok.strnisa@citrix.com>
Tue, 12 Oct 2010 09:45:49 +0000 (10:45 +0100)
committerRok Strnisa <rok.strnisa@citrix.com>
Tue, 12 Oct 2010 09:45:49 +0000 (10:45 +0100)
Signed-off-by: Rok Strnisa <rok.strnisa@citrix.com>
ocaml/xapi/helpers.ml

index c4014fd1949835b77a442c01b3dddc759245318f..8363dbbb10f9b3f310b7812865809d0f094eb0e6 100644 (file)
@@ -642,7 +642,6 @@ let subset a b = List.fold_left (fun acc x -> acc && (List.mem x b)) true a
 let is_sr_properly_shared ~__context ~self = 
   let shared = Db.SR.get_shared ~__context ~self in
   if not shared then begin
-    warn "SR %s not shared properly: field 'shared' is set to false'" (Ref.string_of self);
     false
   end else begin
     let pbds = Db.SR.get_PBDs ~__context ~self in