We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05007da commit 3b469f0Copy full SHA for 3b469f0
1 file changed
helpful_tools/Install-DockerCE/uninstall-docker-ce.ps1
@@ -572,10 +572,10 @@ public class Hcs
572
573
# Wait for the job to complete with a reasonable timeout
574
$timeout = 120 # 2 minutes
575
- if ($job | Wait-Job -Timeout $timeout)
+ if (Wait-Job $job -Timeout $timeout)
576
{
577
- $results = $job | Receive-Job
578
- $job | Remove-Job
+ $results = Receive-Job $job
+ Remove-Job $job
579
580
$successCount = ($results | Where-Object { $_.Success }).Count
581
$failCount = ($results | Where-Object { -not $_.Success }).Count
0 commit comments