mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
Fix ip address whiltelist value for hcl2 templates (#7409)
This commit is contained in:
committed by
GitHub
parent
833ffa3aab
commit
5777d37af1
@@ -264,7 +264,7 @@ Function GenerateResourcesAndImage {
|
||||
|
||||
if ($builderScriptPath.Contains("pkr.hcl")) {
|
||||
if ($AgentIp) {
|
||||
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
|
||||
$AgentIp = '[ "{0}" ]' -f $AgentIp
|
||||
} else {
|
||||
$AgentIp = "[]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user