Skip to content

Commit 8d21f8d

Browse files
Fix the agent_id json field for Windows userdata
Signed-off-by: Gabriel Adrian Samfira <[email protected]>
1 parent 433a0c5 commit 8d21f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudconfig/templates.go

Lines changed: 1 addition & 1 deletion
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)