Skip to content

Commit a9efac1

Browse files
Merge pull request #21 from cloudbase/fix-agent-id-for-windows
Fix the agent_id json field for Windows userdata
2 parents 433a0c5 + 8d21f8d commit a9efac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudconfig/templates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function Update-GarmStatus() {
355355
}
356356
357357
if ($AgentID -ne 0) {
358-
$body["AgentID"] = $AgentID
358+
$body["agent_id"] = $AgentID
359359
}
360360
Invoke-APICall -Payload $body -CallbackURL $CallbackURL | Out-Null
361361
}

0 commit comments

Comments
 (0)