You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by qi...@apache.org on 2022/11/18 03:55:57 UTC
[skywalking-booster-ui] branch main updated: fix typo (#185)
This is an automated email from the ASF dual-hosted git repository.
qiuxiafan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 670bef1 fix typo (#185)
670bef1 is described below
commit 670bef1d69c3387d7a0f363354429bbaeeba5b1f
Author: drgnchan <40...@users.noreply.github.com>
AuthorDate: Fri Nov 18 11:55:52 2022 +0800
fix typo (#185)
---
src/views/dashboard/related/trace/utils/trace-table.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/dashboard/related/trace/utils/trace-table.ts b/src/views/dashboard/related/trace/utils/trace-table.ts
index c63ae89..6d93cf6 100644
--- a/src/views/dashboard/related/trace/utils/trace-table.ts
+++ b/src/views/dashboard/related/trace/utils/trace-table.ts
@@ -29,13 +29,13 @@ export default class TraceUtil {
return Array.from(new Set(data.map((span: Span) => span.serviceCode)));
}
- public static changeTree(data: Span[], cureentTraceId: string) {
+ public static changeTree(data: Span[], currentTraceId: string) {
const segmentIdList: Span[] = [];
const traceTreeRef: any = this.changeTreeCore(data);
traceTreeRef.segmentIdGroup.forEach((segmentId: string) => {
if (traceTreeRef.segmentMap.get(segmentId).refs) {
traceTreeRef.segmentMap.get(segmentId).refs.forEach((ref: Ref) => {
- if (ref.traceId === cureentTraceId) {
+ if (ref.traceId === currentTraceId) {
this.traverseTree(
traceTreeRef.segmentMap.get(ref.parentSegmentId) as Span,
ref.parentSpanId,