Skip to content

Commit c9a5c13

Browse files
committed
CA-194079: Handle host featureset increases correctly
Signed-off-by: Euan Harris <[email protected]>
1 parent cabcb51 commit c9a5c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/create_misc.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ let create_host_cpu ~__context =
450450
let (name, priority) = if lost then Api_messages.host_cpu_features_down else Api_messages.host_cpu_features_up in
451451
let obj_uuid = Db.Host.get_uuid ~__context ~self:host in
452452
Helpers.call_api_functions ~__context (fun rpc session_id ->
453-
ignore (XenAPI.Message.create rpc session_id name priority `Pool obj_uuid body)
453+
ignore (XenAPI.Message.create rpc session_id name priority `Host obj_uuid body)
454454
)
455455
end;
456456

0 commit comments

Comments
 (0)