File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -3590,16 +3590,11 @@ let disable_repository_proxy ~__context ~self =
35903590let set_uefi_certificates ~__context ~self ~value =
35913591 match ! Xapi_globs. override_uefi_certs with
35923592 | false ->
3593- raise
3594- Api_errors. (
3595- Server_error
3596- ( Api_errors. operation_not_allowed
3597- , [
3598- " Setting UEFI certificates is not possible when \
3599- override_uefi_certs is false"
3600- ]
3601- )
3602- )
3593+ let msg =
3594+ " Setting UEFI certificates is not possible when override_uefi_certs is \
3595+ false"
3596+ in
3597+ raise Api_errors. (Server_error (operation_not_allowed, [msg]))
36033598 | true ->
36043599 Db.Pool. set_uefi_certificates ~__context ~self ~value ;
36053600 Helpers. call_api_functions ~__context (fun rpc session_id ->
You can’t perform that action at this time.
0 commit comments