Fix failing resource back compat checks (#1459)

This commit is contained in:
Liudmila Molkova 2024-10-09 08:29:19 -07:00 committed by GitHub
parent 96f8bda9ba
commit a9fe0c6e32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 6 deletions

View File

@ -385,7 +385,8 @@ deny contains back_comp_violation(description, group_id, "") if {
some resource in baseline_resources
resource.stability == "stable"
some nresource in registry_resources
resource.name = nresource.name
resource.name == nresource.name
nresource.stability == "stable" # remove after https://github.com/open-telemetry/semantic-conventions/pull/1423 is merged
baseline_attributes := { attr.name |
some attr in resource.attributes