Change URL for packages (#11997)

* fix:URL for packages

* chore Add co-author
>
> Co-authored-by: greg dryke <no-reply@github.com>

* chore: Incorporate Review comments

* fix: remove redundant initialization
This commit is contained in:
Subir Ghosh
2025-04-11 11:53:08 -06:00
committed by GitHub
parent 0b85dff969
commit fd1af56b4f
14 changed files with 23 additions and 17 deletions

View File

@@ -164,7 +164,7 @@ Function GenerateResourcesAndImage {
# Prepare list of allowed inbound IP addresses
if ($RestrictToAgentIpAddress) {
$AgentIp = (Invoke-RestMethod http://ipinfo.io/json).ip
$AgentIp = (Invoke-RestMethod https://ipinfo.io/json).ip
if (-not $AgentIp) {
throw "Unable to determine agent IP address."
}