Skip to content

Commit 3306ac9

Browse files
thomassacheng-z
authored andcommitted
CP-11136: Fix field-name: hyphens not underscores
The fifth and last commit for this feature. Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
1 parent 61b34a4 commit 3306ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/client_records/records.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ let host_record rpc session_id host =
10511051
~get_map:(fun () -> (x ()).API.host_guest_VCPUs_params)
10521052
~add_to_map:(fun k v -> Client.Host.add_to_guest_VCPUs_params rpc session_id host k v)
10531053
~remove_from_map:(fun k -> Client.Host.remove_from_guest_VCPUs_params rpc session_id host k) ();
1054-
make_field ~name:"virtual_hardware_platform_versions"
1054+
make_field ~name:"virtual-hardware-platform-versions"
10551055
~get:(fun () -> String.concat "; " (List.map Int64.to_string (x ()).API.host_virtual_hardware_platform_versions))
10561056
~get_set:(fun () -> List.map Int64.to_string (x ()).API.host_virtual_hardware_platform_versions) ();
10571057
]}

0 commit comments

Comments
 (0)