Skip to content

Commit 365cd74

Browse files
committed
Remove the unused error set_console_idle_timeout_failed
The error set_console_idle_timeout_failed was added in feature branch while it is not used anywhere. The error used in set_console_idle_timeout now is invalid_value. Signed-off-by: Gang Ji <[email protected]>
1 parent e29eda2 commit 365cd74

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

ocaml/idl/datamodel_errors.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,9 +2049,6 @@ let _ =
20492049
error Api_errors.host_driver_no_hardware ["driver variant"]
20502050
~doc:"No hardware present for this host driver variant" () ;
20512051

2052-
error Api_errors.set_console_idle_timeout_failed ["timeout"]
2053-
~doc:"Failed to set console idle timeout." () ;
2054-
20552052
error Api_errors.tls_verification_not_enabled_in_pool []
20562053
~doc:
20572054
"TLS verification has not been enabled in the pool successfully, please \

ocaml/xapi-consts/api_errors.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,3 @@ let host_driver_no_hardware = add_error "HOST_DRIVER_NO_HARDWARE"
14301430

14311431
let tls_verification_not_enabled_in_pool =
14321432
add_error "TLS_VERIFICATION_NOT_ENABLED_IN_POOL"
1433-
1434-
let set_console_idle_timeout_failed =
1435-
add_error "SET_CONSOLE_IDLE_TIMEOUT_FAILED"

0 commit comments

Comments
 (0)