From 0741aed44d38190d35d9e67502b256da1738f9a8 Mon Sep 17 00:00:00 2001 From: Jiri Formacek Date: Tue, 28 May 2024 15:48:09 +0200 Subject: [PATCH] decreased logging --- .../Manage-AutomationWebHook/Manage-AutomationWebHook.ps1 | 8 -------- vss-extension.json | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Tasks/Manage-AutomationWebHook/Manage-AutomationWebHook.ps1 b/Tasks/Manage-AutomationWebHook/Manage-AutomationWebHook.ps1 index 135b81b..a22e564 100644 --- a/Tasks/Manage-AutomationWebHook/Manage-AutomationWebHook.ps1 +++ b/Tasks/Manage-AutomationWebHook/Manage-AutomationWebHook.ps1 @@ -138,9 +138,6 @@ foreach($def in $definitions) if((-not [string]::IsNullOrEmpty($setting.RunOn) -and ($setting.RunOn -ne 'Azure'))) {$runOn = $setting.RunOn} } - Write-Host "Checking params :" - $params - $Expires = [DateTime]::UtcNow + [Timespan]::Parse($def.Expiration) $SupportedRequestTypes = $def.SupportedRequestTypes $webhookName = "$($def.NamePrefix)-$ts" @@ -152,11 +149,6 @@ foreach($def in $definitions) -ExpiresOn $Expires ` -Parameters $params - - Write-Host "API response: " - $webhook2json = $webhook | ConvertTo-Json - $webhook2json - $webhook | Add-Member -MemberType NoteProperty -Name SupportedRequestTypes -Value $SupportedRequestTypes $managedWebhooks+=$webhook $newWebhooks += $webhook diff --git a/vss-extension.json b/vss-extension.json index 291f7bc..38e0d8c 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "Manage-AutomationAccount", "name": "Manage-AutomationAccount", - "version": "1.9.97", + "version": "1.9.98", "publisher": "GreyCorbelSolutions", "targets": [ {