mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-26 13:03:36 -04:00
fix typo that causes serialization to fail when events is non-empty (#11839)
This commit is contained in:
@@ -143,7 +143,7 @@ func expandAwsCodeCommitTriggers(configured []interface{}) []*codecommit.Reposit
|
||||
Name: aws.String(data["name"].(string)),
|
||||
}
|
||||
|
||||
branches := make([]*string, len(data["events"].([]interface{})))
|
||||
branches := make([]*string, len(data["branches"].([]interface{})))
|
||||
for i, vv := range data["branches"].([]interface{}) {
|
||||
str := vv.(string)
|
||||
branches[i] = aws.String(str)
|
||||
|
||||
Reference in New Issue
Block a user