Skip to content

Commit

Permalink
Update exporter/otelarrowexporter/metadata.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
  • Loading branch information
kristinapathak and jmacd authored Jul 24, 2024
1 parent e22a40a commit ad434c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions exporter/otelarrowexporter/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ func (e *metadataExporter) getOrCreateExporter(ctx context.Context, s attribute.
return nil, fmt.Errorf("failed to create exporter: %w", err)
}

// aset.ToSlice() returns the sorted, deduplicated,
// and name-downcased list of attributes.
var loaded bool
v, loaded = e.exporters.LoadOrStore(s, newExp)
if !loaded {
Expand Down

0 comments on commit ad434c9

Please sign in to comment.