File tree Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -606,14 +606,6 @@ let call_emergency_mode_functions hostname f =
606
606
(fun () -> f rpc session_id)
607
607
(fun () -> Client.Client.Session. local_logout ~rpc ~session_id )
608
608
609
- let progress ~__context t =
610
- for i = 0 to int_of_float (t *. 100. ) do
611
- let v = float_of_int i /. 100. /. t in
612
- TaskHelper. set_progress ~__context v ;
613
- Thread. delay 1.
614
- done ;
615
- TaskHelper. set_progress ~__context 1.
616
-
617
609
let is_domain_zero_with_record ~__context vm_ref vm_rec =
618
610
let host_ref = vm_rec.API. vM_resident_on in
619
611
vm_rec.API. vM_is_control_domain
Original file line number Diff line number Diff line change @@ -89,9 +89,6 @@ let retrieve_wlb_recommendations ~__context ~vm =
89
89
90
90
let assert_agile ~__context ~self = Agility. vm_assert_agile ~__context ~self
91
91
92
- (* helpers *)
93
- let immediate_complete ~__context = Helpers. progress ~__context (0.0 -. 1.0 )
94
-
95
92
(* API *)
96
93
let set_actions_after_crash ~__context ~self ~value =
97
94
set_actions_after_crash ~__context ~self ~value
Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ val retrieve_wlb_recommendations :
32
32
33
33
val assert_agile : __context :Context .t -> self :[`VM ] Ref .t -> unit
34
34
35
- val immediate_complete : __context :Context .t -> unit
36
-
37
35
val set_actions_after_crash :
38
36
__context :Context .t
39
37
-> self :[`VM ] Ref .t
You can’t perform that action at this time.
0 commit comments