Merge branch 'v0.16'
commit
4e626101bc
|
@ -39,7 +39,7 @@ func (e *GoogleBigqueryDatasetEnumerator) Enumerate() ([]*resource.Resource, err
|
|||
string(e.SupportedType()),
|
||||
trimResourceName(res.GetName()),
|
||||
map[string]interface{}{
|
||||
"name": res.DisplayName,
|
||||
"friendly_name": res.DisplayName,
|
||||
},
|
||||
),
|
||||
)
|
||||
|
|
|
@ -7,7 +7,7 @@ const GoogleBigqueryDatasetResourceType = "google_bigquery_dataset"
|
|||
func initGoogleBigqueryDatasetMetadata(resourceSchemaRepository resource.SchemaRepositoryInterface) {
|
||||
resourceSchemaRepository.SetHumanReadableAttributesFunc(GoogleBigqueryDatasetResourceType, func(res *resource.Resource) map[string]string {
|
||||
return map[string]string{
|
||||
"name": *res.Attrs.GetString("name"),
|
||||
"name": *res.Attrs.GetString("friendly_name"),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue