Skip to content

Commit

Permalink
chore: update tooltip when failed to get host info (#1469)
Browse files Browse the repository at this point in the history
- because the reason is not correct in some cases
  • Loading branch information
baurine authored Jan 16, 2023
1 parent e480781 commit 03cbe9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function HostTable() {
<Tooltip
title={t('cluster_info.list.host_table.instanceUnavailable')}
>
<Typography.Text type="danger">
<Typography.Text type="warning">
<WarningOutlined /> {row.host}
</Typography.Text>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function HostTable() {
<Tooltip
title={t('cluster_info.list.host_table.instanceUnavailable')}
>
<Typography.Text type="danger">
<Typography.Text type="warning">
<WarningOutlined /> {row.host}
</Typography.Text>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cluster_info:
memory: Memory
memory_usage: Memory Usage
instances: Instances
instanceUnavailable: Host information is unavailable due to instances on the host is down
instanceUnavailable: Failed to get the host information
disk_table:
title: Disks
columns:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cluster_info:
memory: 物理内存
memory_usage: 内存使用率
instances: 实例
instanceUnavailable: 由于该主机上没有实例存活,因此无法获取主机信息
instanceUnavailable: 获取主机信息失败
disk_table:
title: 磁盘
columns:
Expand Down

0 comments on commit 03cbe9a

Please sign in to comment.