From: Rok Strnisa Date: Tue, 12 Oct 2010 09:45:49 +0000 (+0100) Subject: CA-38158: Bogus "SR not shared properly" warning --- FIXED. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9067558a134266238099486e1632db2c9128955c;p=xcp%2Fxen-api.git CA-38158: Bogus "SR not shared properly" warning --- FIXED. Signed-off-by: Rok Strnisa --- diff --git a/ocaml/xapi/helpers.ml b/ocaml/xapi/helpers.ml index c4014fd1..8363dbbb 100644 --- a/ocaml/xapi/helpers.ml +++ b/ocaml/xapi/helpers.ml @@ -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