Skip to content

Commit 4b5a626

Browse files
Konstantina Chremmourobhoes
authored andcommitted
Language correction.
Signed-off-by: Konstantina Chremmou <[email protected]>
1 parent b5fcab0 commit 4b5a626

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ocaml/idl/ocaml_backend/gen_db_actions.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ let db_action api : O.Module.t =
448448
(** Generate a signature for the Server.Make functor. It should have one
449449
field per member in the user-facing API (not the special full 'DB api')
450450
which has no custom action. The signature will be smaller than the
451-
db_actions signature but the db_actions module will be compatable with it *)
451+
db_actions signature but the db_actions module will be compatible with it *)
452452
let make_db_defaults_api = Dm_api.filter (fun _ -> true) (fun _ -> true)
453453
(fun x -> not(Gen_empty_custom.operation_requires_side_effect x))
454454

ocaml/xapi/import.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ let metadata_handler (req: Request.t) s _ =
15531553
Tar_unix.Archive.skip s (Tar_unix.Header.length * 2);
15541554

15551555
let header = header_of_xmlrpc metadata in
1556-
assert_compatable ~__context header.version;
1556+
assert_compatible ~__context header.version;
15571557
if full_restore then assert_can_restore_backup ~__context rpc session_id header;
15581558

15591559
with_error_handling (fun () ->
@@ -1597,7 +1597,7 @@ let stream_import __context rpc session_id s content_length refresh_session conf
15971597
else begin
15981598
debug "importing new style VM";
15991599
let header = header_of_xmlrpc metadata in
1600-
assert_compatable ~__context header.version;
1600+
assert_compatible ~__context header.version;
16011601
if config.full_restore then assert_can_restore_backup ~__context rpc session_id header;
16021602

16031603
(* objects created here: *)

ocaml/xapi/importexport.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ let this_version __context =
7979

8080
(** Raises an exception if a prospective import cannot be handled by this code.
8181
This will get complicated over time... *)
82-
let assert_compatable ~__context other_version =
82+
let assert_compatible ~__context other_version =
8383
let this_version = this_version __context in
8484
let error() =
8585
error "Import version is incompatible";

0 commit comments

Comments
 (0)