File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -3241,10 +3241,11 @@ let host_set_localdb_key = call
32413241
32423242let host_refresh_pack_info = call
32433243 ~name: " refresh_pack_info"
3244- ~in_product_since: rel_midnight_ride
32453244 ~doc: " Refresh the list of installed Supplemental Packs."
32463245 ~params: [Ref _host, " host" , " The Host to modify" ]
32473246 ~allowed_roles: _R_POOL_OP
3247+ ~lifecycle: [Published , rel_midnight_ride, " " ;
3248+ Deprecated , rel_ely, " Use Pool_update.resync_host instead" ]
32483249 ()
32493250
32503251(* ------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -959,6 +959,15 @@ let rec cmdtable_data : (string*cmd_spec) list =
959959 flags= [] ;
960960 };
961961
962+ " update-resync-host" ,
963+ {
964+ reqd= [" host-uuid" ];
965+ optn= [] ;
966+ help= " Refreshes Host.updates" ;
967+ implementation= No_fd Cli_operations. update_resync_host;
968+ flags= [Hidden ];
969+ };
970+
962971 " user-password-change" ,
963972 {
964973 reqd= [" new" ];
Original file line number Diff line number Diff line change @@ -4837,3 +4837,8 @@ let update_destroy printer rpc session_id params =
48374837 let uuid = List. assoc " uuid" params in
48384838 let ref = Client.Pool_update. get_by_uuid rpc session_id uuid in
48394839 Client.Pool_update. destroy rpc session_id ref
4840+
4841+ let update_resync_host printer rpc session_id params =
4842+ let uuid = List. assoc " host-uuid" params in
4843+ let host = Client.Host. get_by_uuid rpc session_id uuid in
4844+ Client.Pool_update. resync_host rpc session_id host
You can’t perform that action at this time.
0 commit comments