Skip to content

Commit 34d3830

Browse files
committed
Do not export funcs for enums
1 parent e94b8b5 commit 34d3830

File tree

2 files changed

+1
-634
lines changed

2 files changed

+1
-634
lines changed

semconv/helpers.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const (
6666
{%- endmacro -%}
6767

6868
{%- macro generate_funcs(group) -%}
69-
{%- for attribute in group.attributes if not attribute.deprecated %}
69+
{%- for attribute in group.attributes if not attribute is enum %}
7070
{#- TODO: Handle template attributes. #}
7171
{%- if not attribute.type is template_type %}
7272

0 commit comments

Comments
 (0)