Skip to content

Commit

Permalink
Small correction to PR#6058 and a C# SDK addition for client L10n pur…
Browse files Browse the repository at this point in the history
…poses. (#6059)
  • Loading branch information
kc284 authored Oct 17, 2024
2 parents 1683f8f + 3a727d2 commit 34352ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/doc/wire-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ To retrieve all the VM records in a single call:

```python
>>> records = xen.VM.get_all_records(session)['Value']
>>> records.keys()
>>> list(records.keys())
['OpaqueRef:1', 'OpaqueRef:2', 'OpaqueRef:3', 'OpaqueRef:4' ]
>>> records['OpaqueRef:1']['name_label']
'Red Hat Enterprise Linux 7'
Expand Down
3 changes: 3 additions & 0 deletions ocaml/sdk-gen/csharp/templates/Message2.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ namespace XenAPI
LEAF_COALESCE_COMPLETED,
LEAF_COALESCE_FAILED,
POST_ATTACH_SCAN_FAILED,
WLB_VM_RELOCATION,
{{#message_types}}
{{{message_type}}},
{{/message_types}}
Expand Down Expand Up @@ -73,6 +74,8 @@ namespace XenAPI
return MessageType.LEAF_COALESCE_FAILED;
case "POST_ATTACH_SCAN_FAILED":
return MessageType.POST_ATTACH_SCAN_FAILED;
case "WLB_VM_RELOCATION":
return MessageType.WLB_VM_RELOCATION;
{{#message_types}}
case "{{{message_type}}}":
return MessageType.{{{message_type}}};
Expand Down

0 comments on commit 34352ac

Please sign in to comment.