Skip to content

Commit

Permalink
[chore]unexport GenerateTracesTreesAndOrphans (#26339)
Browse files Browse the repository at this point in the history
**Link to tracking Issue:**
#26304
  • Loading branch information
atoulme authored Aug 31, 2023
1 parent fac7aba commit 7241532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/checkapi/allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ exporter/awscloudwatchlogsexporter
exporter/awskinesisexporter
exporter/azuremonitorexporter
exporter/coralogixexporter
exporter/datasetexporter
exporter/dynatraceexporter
exporter/elasticsearchexporter
exporter/f5cloudexporter
Expand Down
4 changes: 2 additions & 2 deletions exporter/datasetexporter/traces_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ var trace1Id = [16]byte{2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}
var trace2Id = [16]byte{3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}
var trace3Id = [16]byte{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4}

func GenerateTracesTreesAndOrphans() ptrace.Traces {
func generateTracesTreesAndOrphans() ptrace.Traces {
td := ptrace.NewTraces()
rs0 := td.ResourceSpans().AppendEmpty()
rs0ils0 := rs0.ScopeSpans().AppendEmpty()
Expand Down Expand Up @@ -434,7 +434,7 @@ func generateSimpleEvent(
}

func TestBuildEventsFromTracesTrees(t *testing.T) {
traces := GenerateTracesTreesAndOrphans()
traces := generateTracesTreesAndOrphans()
was := buildEventsFromTraces(traces, testServerHost)

statusUnset := ptrace.NewStatus()
Expand Down

0 comments on commit 7241532

Please sign in to comment.