fix obvious bug code.
This commit is contained in:
parent
43ca1a0ee7
commit
ac827cfff0
|
|
@ -14,7 +14,7 @@ import java.util.List;
|
|||
public class SpanDataFinder {
|
||||
|
||||
public static List<SpanData> find(TraceId traceId) {
|
||||
IndexMetaCollection indexMetaCollection = IndexOperateExecutor.execute(new FinderExecutor<IndexMetaCollection>(
|
||||
IndexMetaCollection indexMetaCollection = IndexOperateExecutor.execute(new FinderExecutor(
|
||||
traceId.getSegmentsList().toArray(new Long[traceId.getSegmentsCount()])));
|
||||
|
||||
if (indexMetaCollection == null) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ public class FinderExecutor implements Executor<IndexMetaCollection> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public com.a.eye.skywalking.storage.data.index.IndexMetaCollection execute(IndexOperator indexOperator) {
|
||||
public IndexMetaCollection execute(IndexOperator indexOperator) {
|
||||
return indexOperator.findIndex(traceIdSegment);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue