Skip to content

Commit 59d5107

Browse files
authored
Merge pull request #129 from LLKCoder/fix-debugslo-link
Fixed a bug where clicking on a link resulted in incorrect redirection.
2 parents 87bbebe + 3b8a909 commit 59d5107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/helm/lunettes/templates/grafana/grafana-cm.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ data:
672672
{
673673
"targetBlank": true,
674674
"title": "yaml",
675-
"url": "/d/podyamllinks/podyaml?orgId=1&var-uid=${__data.fields[\"PodUID\"]}"
675+
"url": "/d/podyamllinks/podyaml?var-uid=${__data.fields.PodUID}"
676676
}
677677
]
678678
},
@@ -697,7 +697,7 @@ data:
697697
{
698698
"targetBlank": true,
699699
"title": "NodeYaml",
700-
"url": "/d/nodeyamllinks/nodeyaml?orgId=1&var-nodeName=${__data.fields[\"NodeName\"]}"
700+
"url": "/d/nodeyamllinks/nodeyaml?var-nodeName=${__data.fields.NodeName}"
701701
}
702702
]
703703
},
@@ -2609,7 +2609,7 @@ data:
26092609
{
26102610
"targetBlank": true,
26112611
"title": "Pod信息",
2612-
"url": "\r\nhttp://lunettes.lunettes.svc.cluster.local:8080/api/v1/debugpod?uid=${__data.fields.PodUid}"
2612+
"url": "d/lunettes-debugpod/lunettes-debugpod?var-podinfo=uid&var-podinfovalue=${__data.fields.PodUid}"
26132613
}
26142614
]
26152615
}

0 commit comments

Comments
 (0)