Update Tags handling in build-image.ps1 (#11458)

This commit is contained in:
Shamil Mubarakshin
2025-01-23 13:57:09 +01:00
committed by GitHub
parent 4e7613245f
commit e149fc6a0e

View File

@@ -34,7 +34,7 @@ $SensitiveData = @(
': ->'
)
$azure_tags = $Tags.GetEnumerator() | ForEach-Object { "{0}={1}" -f $_.Key, $_.Value } | Join-String -Separator ","
$azure_tags = ($Tags.GetEnumerator() | ForEach-Object { "{0}={1}" -f $_.Key, $_.Value }) -join ","
Write-Host "Show Packer Version"
packer --version