Skip to content

Commit 4de3834

Browse files
rafi-ruetcse17RokibulHasan7
authored andcommitted
Add targetClusterName in montitoring-cluster api
Signed-off-by: rafi <rafialam@appscode.com>
1 parent 54eba40 commit 4de3834

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • charts/uik8sappscodecom-featureset-opscenter-observability-editor/ui

charts/uik8sappscodecom-featureset-opscenter-observability-editor/ui/functions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ export const useFunc = (model) => {
442442
}
443443

444444
const owner = storeGet('/route/params/user')
445-
let url = `/telemetry/${owner}/monitoring-clusters`
445+
const cluster = storeGet('/route/params/cluster')
446+
let url = `/telemetry/${owner}/monitoring-clusters?targetClusterName=${cluster}`
446447
const { data } = await axios.get(url)
447448

448449
return data || []

0 commit comments

Comments
 (0)