Skip to content

Commit

Permalink
add activemig
Browse files Browse the repository at this point in the history
  • Loading branch information
spai-p9 committed Feb 20, 2025
1 parent 34d6088 commit c1be433
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/api/nodes/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface Spec {
}

export interface Status {
activeMigrations?: string[]
ActiveMigrations?: string[]
openstackuuid: string
phase: string
vmip: string
Expand Down
7 changes: 6 additions & 1 deletion ui/src/pages/dashboard/NodesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,14 @@ export default function NodesTable() {
ipAddress: node.status?.vmip || '-',
role: node.spec.noderole,
creationTimestamp: node.metadata.creationTimestamp,
activeMigrations: node.status?.activeMigrations || []
activeMigrations: node.status?.ActiveMigrations || []
})) || [];

nodes?.forEach(node => {
console.log(node)
console.log(node.status?.ActiveMigrations)
})

const handleSelectionChange = (newSelection) => {
setSelectedNodes(newSelection);
};
Expand Down

0 comments on commit c1be433

Please sign in to comment.