Skip to content

Commit

Permalink
Debug: Use archive span reader when trace reader fails
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
  • Loading branch information
ekefan committed Jan 8, 2025
1 parent 42572fa commit 54a0a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/storage/integration/elasticsearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (s *ESStorageIntegration) initSpanstore(t *testing.T, allTagsAsFields bool)
require.NoError(t, err)
s.TraceReader = v1adapter.NewTraceReader(spanReader)

s.ArchiveSpanReader, err = f.CreateArchiveSpanReader()
s.ArchiveSpanReader, err = f.CreateArchiveSpanReader()
require.NoError(t, err)
s.ArchiveTraceReader = v1adapter.NewTraceReader(s.ArchiveSpanReader)
archiveSpanWriter, err := f.CreateArchiveSpanWriter()
Expand Down

0 comments on commit 54a0a07

Please sign in to comment.