Fix spawing -> spawning typo

This commit is contained in:
Richard Huang 2022-01-24 21:52:16 -08:00
parent a51979b54e
commit 67452152c2
No known key found for this signature in database
GPG Key ID: FFDEF81D05C2EC94
2 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ async fn apply_outcome(
.map_err(|_| RuntimeError::HandlerLockHeld("pre-spawn"))?
.into_inner();
trace!("spawing supervisor for command");
trace!("spawning supervisor for command");
let sup = Supervisor::spawn(
errors_c.clone(),
events_c.clone(),

View File

@ -60,7 +60,7 @@ impl Supervisor {
debug!(%grouped, ?command, "spawning command");
let (process, id) = if grouped {
let proc = command.group_spawn().map_err(|err| RuntimeError::IoError {
about: "spawing process group",
about: "spawning process group",
err,
})?;
let id = proc.id().ok_or(RuntimeError::ProcessDeadOnArrival)?;