Skip to content

Commit b0b986d

Browse files
Daan HooglandDaanHoogland
authored andcommitted
UI status for router health checks
1 parent 4ce429d commit b0b986d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

api/src/main/java/com/cloud/network/VirtualNetworkApplianceService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ void startRouterForHA(VirtualMachine vm, Map<VirtualMachineProfile.Param, Object
8989
<T extends VirtualRouter> void collectNetworkStatistics(T router, Nic nic);
9090

9191
enum RouterHealthStatus{
92-
SUCCESS, FAILURE, WARNING, UNKNOWN;
92+
SUCCESS, FAILED, WARNING, UNKNOWN;
9393
}
9494
}

ui/src/views/infra/routers/RouterHealthCheck.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
size="large">
3636
<template #bodyCell="{ column, record }">
3737
<template v-if="column.key === 'status'">
38-
<status class="status" :text="record.success === true ? 'True' : 'False'" displayText />
38+
<status class="status" :text="record.success" displayText />
3939
</template>
4040
</template>
4141
</a-table>
@@ -113,6 +113,7 @@ export default {
113113
},
114114
{
115115
key: 'status',
116+
dataIndex: 'success',
116117
title: this.$t('label.router.health.check.success')
117118
},
118119
{

0 commit comments

Comments
 (0)