From cd1a2dc109fcdd6817c7e55872fd19104e1f4129 Mon Sep 17 00:00:00 2001 From: Christian Lindig Date: Thu, 12 Sep 2024 13:19:11 +0100 Subject: [PATCH] CA-397599 XSI-1704 update schema hash Signed-off-by: Christian Lindig --- ocaml/idl/schematest.ml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ocaml/idl/schematest.ml b/ocaml/idl/schematest.ml index c375a909149..0afe0a10be1 100644 --- a/ocaml/idl/schematest.ml +++ b/ocaml/idl/schematest.ml @@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex (* BEWARE: if this changes, check that schema has been bumped accordingly in ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *) -let last_known_schema_hash = "428caff23cdb969c59a9960beefd7bb6" +let last_known_schema_hash = "60590fa3fa2f8af66d9bf3c50b7bacc2" let current_schema_hash : string = let open Datamodel_types in @@ -19,11 +19,10 @@ let () = if last_known_schema_hash <> current_schema_hash then ( Printf.eprintf {| - New schema hash ('%s') doesn't match the last known one. Please bump the -datamodel schema versions if necessary, and update 'last_known_schema_hash'. - +datamodel schema versions if necessary, and update 'last_known_schema_hash' +in file %s. |} - current_schema_hash ; + current_schema_hash __FILE__ ; exit 1 )