Skip to content

Commit

Permalink
Properly generate id
Browse files Browse the repository at this point in the history
  • Loading branch information
yang1666204 committed Apr 29, 2024
1 parent c5e27d3 commit 95fd195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export async function getSimpleClusterList(): Promise<API.SimpleClusterListRespo
...r,
data: r.data.map((clusterDetail) => ({
clusterId: clusterDetail.clusterId, // clusterId is not unique
id: clusterDetail.name + clusterDetail.namespace,
id: `${clusterDetail.namespace}:${clusterDetail.name}`,
name: clusterDetail.name,
namespace: clusterDetail.namespace,
topology: clusterDetail.topology,
Expand Down

0 comments on commit 95fd195

Please sign in to comment.