File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -4027,16 +4027,14 @@ functor
40274027 let enable_ssh ~__context ~self =
40284028 info " %s: host = '%s'" __FUNCTION__ (host_uuid ~__context self) ;
40294029 let local_fn = Local.Host. enable_ssh ~self in
4030- do_op_on ~local_fn ~__context ~host: self (fun session_id rpc ->
4031- Client.Host. enable_ssh ~rpc ~session_id ~self
4032- )
4030+ let remote_fn = Client.Host. enable_ssh ~self in
4031+ do_op_on ~local_fn ~__context ~host: self ~remote_fn
40334032
40344033 let disable_ssh ~__context ~self =
40354034 info " %s: host = '%s'" __FUNCTION__ (host_uuid ~__context self) ;
40364035 let local_fn = Local.Host. disable_ssh ~self in
4037- do_op_on ~local_fn ~__context ~host: self (fun session_id rpc ->
4038- Client.Host. disable_ssh ~rpc ~session_id ~self
4039- )
4036+ let remote_fn = Client.Host. disable_ssh ~self in
4037+ do_op_on ~local_fn ~__context ~host: self ~remote_fn
40404038 end
40414039
40424040 module Host_crashdump = struct
You can’t perform that action at this time.
0 commit comments