Merge pull request #242 from aeolyus/main

Fix spawing -> spawning typo
This commit is contained in:
Félix Saparelli 2022-01-25 22:40:48 +13:00 committed by GitHub
commit 5bdd87dbf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)?;