mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Missed ErrorAction in the params
This commit is contained in:
@@ -70,6 +70,7 @@ $invoke_params = @{
|
|||||||
Body = (ConvertTo-Json $data)
|
Body = (ConvertTo-Json $data)
|
||||||
Uri = "$tower_url/api/v2/job_templates/$job_template_id/callback/"
|
Uri = "$tower_url/api/v2/job_templates/$job_template_id/callback/"
|
||||||
UseBasicParsing = $true
|
UseBasicParsing = $true
|
||||||
|
ErrorAction = 'Stop'
|
||||||
}
|
}
|
||||||
|
|
||||||
$invoke_command = Get-Command -Name Invoke-WebRequest
|
$invoke_command = Get-Command -Name Invoke-WebRequest
|
||||||
|
|||||||
Reference in New Issue
Block a user