mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Lesser logging
This commit is contained in:
parent
2a88ebb102
commit
1cb0b5c6a7
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Download url to file.
|
||||
# ps1 wrapper for psm1
|
||||
#
|
||||
#
|
||||
Param(
|
||||
|
@ -9,6 +9,5 @@ Param(
|
|||
|
||||
Import-Module ./Modules/download-module.psm1
|
||||
|
||||
Write-Host -ForegroundColor DarkGreen " download_url_file $url $file"
|
||||
DownloadFileWithProgress $url $file
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ Function DownloadFileWithProgress {
|
|||
|
||||
|
||||
begin {
|
||||
Write-Host -ForegroundColor DarkGreen " download-module.DownloadFileWithProgress $url $localFile"
|
||||
Write-Host -ForegroundColor DarkGreen " download-module.DownloadFileWithProgress $url"
|
||||
$client = New-Object System.Net.WebClient
|
||||
$Global:downloadComplete = $false
|
||||
$eventDataComplete = Register-ObjectEvent $client DownloadFileCompleted `
|
||||
|
|
Loading…
Add table
Reference in a new issue