Skip to content

Commit 5b4ecae

Browse files
committed
test: Add test to catch missing tree tags
1 parent 4e3ea40 commit 5b4ecae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/tree/aws/acm/acm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
type CertificateManager struct {
10-
Certificates []Certificate `tree:"certificate"`
10+
Certificates []Certificate `tree:"certificates"`
1111
}
1212

1313
func (cm *CertificateManager) AddCertificateAuthorities(cas *acmpca.PCACertificateAuthority) {

pkg/tree/aws/acmpca/acmpca.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package acmpca
22

33
type PCACertificateAuthority struct {
4-
CertificateAuthorities []CertificateAuthority `tree:"certificate_authority"`
4+
CertificateAuthorities []CertificateAuthority `tree:"certificate_authorities"`
55
}

0 commit comments

Comments
 (0)