Merge branch 'v0.16'

main
Elie 2021-10-26 17:44:50 +02:00
commit 3a7c8db0e2
No known key found for this signature in database
GPG Key ID: 399AF69092C727B6
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ func (e *GoogleBigqueryTableEnumerator) Enumerate() ([]*resource.Resource, error
string(e.SupportedType()),
trimResourceName(res.GetName()),
map[string]interface{}{
"name": res.DisplayName,
"friendly_name": res.DisplayName,
},
),
)

View File

@ -7,7 +7,7 @@ const GoogleBigqueryTableResourceType = "google_bigquery_table"
func initGoogleBigqueryTableMetadata(resourceSchemaRepository resource.SchemaRepositoryInterface) {
resourceSchemaRepository.SetHumanReadableAttributesFunc(GoogleBigqueryTableResourceType, func(res *resource.Resource) map[string]string {
return map[string]string{
"name": *res.Attrs.GetString("name"),
"name": *res.Attrs.GetString("friendly_name"),
}
})
}