Skip to content

Commit

Permalink
Fix typo in setup module warning (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 authored Sep 1, 2023
1 parent a5f14d6 commit 6e9e341
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/setup-warning-typo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- setup - Fix up typo ``collection -> collect`` when a timeout occurred during a fact subset
2 changes: 1 addition & 1 deletion plugins/modules/setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ $ansibleFacts.measure_info.$subset = $end.TotalSeconds
else {
# Give a best effort chance to stop it, we can't call .Stop() in case it blocks.
$null = $ps.BeginStop($null, $null)
$module.Warn("Failed to collection $($name) due to timeout")
$module.Warn("Failed to collect $($name) due to timeout")
}
}

Expand Down

0 comments on commit 6e9e341

Please sign in to comment.