Skip to content

Commit 03b5a84

Browse files
committed
feat: add optional name attribute to coder_agent
2 parents 3193ef5 + 0783f3e commit 03b5a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func updateInitScript(resourceData *schema.ResourceData, i interface{}) diag.Dia
239239
}
240240

241241
var metadataMap map[string]interface{}
242-
if len(.metadata) > 0 {
242+
if len(metadata) > 0 {
243243
metadataMap = metadata[0].(map[string]interface{})
244244
}
245245

0 commit comments

Comments
 (0)