Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small correction to PR#6058 and a C# SDK addition for client L10n purposes. #6059

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading