Skip to content

Commit 85809e2

Browse files
committed
#850 Scope don't need attributes
1 parent 7beff49 commit 85809e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/weaver_semconv/src/group.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ impl GroupSpec {
162162
// All types, except metric and event, must have extends or attributes or both.
163163
if self.r#type != GroupType::Metric
164164
&& self.r#type != GroupType::Event
165+
&& self.r#type != GroupType::Scope
165166
&& self.extends.is_none()
166167
&& self.attributes.is_empty()
167168
{

0 commit comments

Comments
 (0)