(
gsettings: &GlobalSettings,
opts: WorkerStopOpts,
)
| 230 | } |
| 231 | |
| 232 | async fn command_worker_stop( |
| 233 | gsettings: &GlobalSettings, |
| 234 | opts: WorkerStopOpts, |
| 235 | ) -> anyhow::Result<()> { |
| 236 | let mut session = get_client_session(gsettings.server_directory()).await?; |
| 237 | stop_worker(&mut session, opts.selector_arg).await?; |
| 238 | Ok(()) |
| 239 | } |
| 240 | |
| 241 | async fn command_worker_list( |
| 242 | gsettings: &GlobalSettings, |
no test coverage detected