Skip to content

Commit

Permalink
Merge pull request #21639 from perryao/main
Browse files Browse the repository at this point in the history
fix initialization of serviceData in internal/conns
  • Loading branch information
YakDriver authored Nov 4, 2021
2 parents ad789c0 + 7f224fc commit f96bae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/conns/conns.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ type ServiceDatum struct {
var serviceData map[string]*ServiceDatum

func init() {
serviceData := make(map[string]*ServiceDatum)
serviceData = make(map[string]*ServiceDatum)

serviceData[AccessAnalyzer] = &ServiceDatum{AWSClientName: "AccessAnalyzer", AWSServiceName: accessanalyzer.ServiceName, AWSEndpointsID: accessanalyzer.EndpointsID, AWSServiceID: accessanalyzer.ServiceID, ProviderNameUpper: "AccessAnalyzer", HCLKeys: []string{"accessanalyzer"}}
serviceData[ACM] = &ServiceDatum{AWSClientName: "ACM", AWSServiceName: acm.ServiceName, AWSEndpointsID: acm.EndpointsID, AWSServiceID: acm.ServiceID, ProviderNameUpper: "ACM", HCLKeys: []string{"acm"}}
Expand Down

0 comments on commit f96bae8

Please sign in to comment.